#D4CC2E
Yellow
HEX
RGB
HSL
About #D4CC2E Yellow
#D4CC2E is a yellow color. In the RGB color model, it is composed of 212 red, 204 green, and 46 blue. In the HSL color space, it has a hue of 57°, saturation of 66%, and lightness of 51%.
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 & Gradients
Use #D4CC2E in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
57°
Hue
66%
Saturation
51%
Lightness
Yellow
Color Harmonies
Colors that work well with #D4CC2E based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #D4CC2E against white and black backgrounds.
Aa#D4CC2E on White
Contrast Ratio1.68:1
AA ✗AA Large ✗AAA ✗
Aa#D4CC2E on Black
Contrast Ratio12.48:1
AA ✓AA Large ✓AAA ✓
Color Conversion Table
Complete conversion of #D4CC2E across different color formats.
| Format | Value |
|---|---|
| HEX | #D4CC2E |
| RGB | rgb(212, 204, 46) |
| HSL | hsl(57, 66%, 51%) |
| RGB Decimal | 212, 204, 46 |
| RGB Percent | 83.1%, 80.0%, 18.0% |
| CMYK (approx.) | 0%, 4%, 78%, 17% |
Related Palettes
12 palettes using #D4CC2E or similar colors