⤺ color picker

#d9cc28 Color Hex

Hex color #d9cc28, RGB(217, 204, 40) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #d9cc28 is a shade of yellow. In a RGB color space it is composed of 85.1% red, 80% green and 15.69% blue. In HSL notation it has 55.6° hue, 70% saturation and 50.4% lightness. The process color (CMYK) is combination of 0% cyan, 5.99% magenta, 81.57% yellow and 14.90% key (black). The closest short hexadecimal code of #d9cc28 is #dc2.

Color information

  • #d9cc28 is a shade of yellow.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 5.99%
    • Yellow: 81.57%
    • Key color - black: 14.90%
  • In the HSL model coordinates are:
    • Hue: 55.6° degrees
    • Saturation: 70%
    • Lightness: 50.4%
  • The values in the RGB color space are:
    • Red: 217 (85.1%)
    • Green: 204 (80%)
    • Blue: 40 (15.69%)


C: 0%, M: 5.99%, Y: 81.57%, K: 14.90%
R: 217, G: 204, B: 40
H: 55.6°, S: 70%, L: 50.4%

Color harmonies

#d9cc28 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #d9cc28; }
.setBackgroundColor { background-color: #d9cc28; }

#d9cc28 text/font color

How to set font color?

<p style="color:#d9cc28">Font color is #d9cc28.</p>

Font color is #d9cc28.

Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything. Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore

#d9cc28 background color

How to set background color?

<div style="background-color:#d9cc28">Background color is #d9cc28.</div>

Background color is #d9cc28.

When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant