#2D271B
Dark Yellow
HEX
RGB
HSL
About #2D271B Dark Yellow
#2D271B is a dark yellow color. In the RGB color model, it is composed of 45 red, 39 green, and 27 blue. In the HSL color space, it has a hue of 40°, saturation of 25%, and lightness of 14%.
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 #2D271B in your CSS, SCSS, or Tailwind projects.
Color Properties
40°
Hue
25%
Saturation
14%
Lightness
Dark Yellow
Color Harmonies
Colors that work well with #2D271B based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #2D271B against white and black backgrounds.
Aa#2D271B on White
Contrast Ratio14.81:1
AA ✓AA Large ✓AAA ✓
Aa#2D271B on Black
Contrast Ratio1.42:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #2D271B across different color formats.
| Format | Value |
|---|---|
| HEX | #2D271B |
| RGB | rgb(45, 39, 27) |
| HSL | hsl(40, 25%, 14%) |
| RGB Decimal | 45, 39, 27 |
| RGB Percent | 17.6%, 15.3%, 10.6% |
| CMYK (approx.) | 0%, 13%, 40%, 82% |
Related Palettes
12 palettes using #2D271B or similar colors