#D2CF28
Yellow
HEX
RGB
HSL
About #D2CF28 Yellow
#D2CF28 is a yellow color. In the RGB color model, it is composed of 210 red, 207 green, and 40 blue. In the HSL color space, it has a hue of 59°, saturation of 68%, and lightness of 49%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #D2CF28 in your CSS, SCSS, or Tailwind projects.
Color Properties
59°
Hue
68%
Saturation
49%
Lightness
Yellow
Color Harmonies
Colors that work well with #D2CF28 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #D2CF28 against white and black backgrounds.
Aa#D2CF28 on White
Contrast Ratio1.65:1
AA ✗AA Large ✗AAA ✗
Aa#D2CF28 on Black
Contrast Ratio12.7:1
AA ✓AA Large ✓AAA ✓
Color Conversion Table
Complete conversion of #D2CF28 across different color formats.
| Format | Value |
|---|---|
| HEX | #D2CF28 |
| RGB | rgb(210, 207, 40) |
| HSL | hsl(59, 68%, 49%) |
| RGB Decimal | 210, 207, 40 |
| RGB Percent | 82.4%, 81.2%, 15.7% |
| CMYK (approx.) | 0%, 1%, 81%, 18% |
Related Palettes
12 palettes using #D2CF28 or similar colors