#221F02
Dark Yellow
HEX
RGB
HSL
About #221F02 Dark Yellow
#221F02 is a dark yellow color. In the RGB color model, it is composed of 34 red, 31 green, and 2 blue. In the HSL color space, it has a hue of 54°, saturation of 89%, and lightness of 7%.
This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.
CSS Code
Use #221F02 in your CSS, SCSS, or Tailwind projects.
Color Properties
54°
Hue
89%
Saturation
7%
Lightness
Dark Yellow
Color Harmonies
Colors that work well with #221F02 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #221F02 against white and black backgrounds.
Aa#221F02 on White
Contrast Ratio16.6:1
AA ✓AA Large ✓AAA ✓
Aa#221F02 on Black
Contrast Ratio1.26:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #221F02 across different color formats.
| Format | Value |
|---|---|
| HEX | #221F02 |
| RGB | rgb(34, 31, 2) |
| HSL | hsl(54, 89%, 7%) |
| RGB Decimal | 34, 31, 2 |
| RGB Percent | 13.3%, 12.2%, 0.8% |
| CMYK (approx.) | 0%, 9%, 94%, 87% |
Related Palettes
12 palettes using #221F02 or similar colors