#403812
Dark Yellow
HEX
RGB
HSL
About #403812 Dark Yellow
#403812 is a dark yellow color. In the RGB color model, it is composed of 64 red, 56 green, and 18 blue. In the HSL color space, it has a hue of 50°, saturation of 56%, and lightness of 16%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #403812 in your CSS, SCSS, or Tailwind projects.
Color Properties
50°
Hue
56%
Saturation
16%
Lightness
Dark Yellow
Color Harmonies
Colors that work well with #403812 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #403812 against white and black backgrounds.
Aa#403812 on White
Contrast Ratio11.72:1
AA ✓AA Large ✓AAA ✓
Aa#403812 on Black
Contrast Ratio1.79:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #403812 across different color formats.
| Format | Value |
|---|---|
| HEX | #403812 |
| RGB | rgb(64, 56, 18) |
| HSL | hsl(50, 56%, 16%) |
| RGB Decimal | 64, 56, 18 |
| RGB Percent | 25.1%, 22.0%, 7.1% |
| CMYK (approx.) | 0%, 13%, 72%, 75% |
Related Palettes
12 palettes using #403812 or similar colors