#312B21
Dark Yellow
HEX
RGB
HSL
About #312B21 Dark Yellow
#312B21 is a dark yellow color. In the RGB color model, it is composed of 49 red, 43 green, and 33 blue. In the HSL color space, it has a hue of 38°, saturation of 20%, and lightness of 16%.
This color has a low lightness value, making it a dark color great for text and bold accents. With low saturation, it appears muted and subtle.
CSS Code
Use #312B21 in your CSS, SCSS, or Tailwind projects.
Color Properties
38°
Hue
20%
Saturation
16%
Lightness
Dark Yellow
Color Harmonies
Colors that work well with #312B21 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #312B21 against white and black backgrounds.
Aa#312B21 on White
Contrast Ratio14.02:1
AA ✓AA Large ✓AAA ✓
Aa#312B21 on Black
Contrast Ratio1.5:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #312B21 across different color formats.
| Format | Value |
|---|---|
| HEX | #312B21 |
| RGB | rgb(49, 43, 33) |
| HSL | hsl(38, 20%, 16%) |
| RGB Decimal | 49, 43, 33 |
| RGB Percent | 19.2%, 16.9%, 12.9% |
| CMYK (approx.) | 0%, 12%, 33%, 81% |
Related Palettes
12 palettes using #312B21 or similar colors