⤺ color picker

#f0cd8c Color Hex

Hex color #f0cd8c, RGB(240, 205, 140) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #f0cd8c is a shade of red-yellow. In a RGB color space it is composed of 94.12% red, 80.39% green and 54.9% blue. In HSL notation it has 39° hue, 76.9% saturation and 74.5% lightness. The process color (CMYK) is combination of 0% cyan, 14.58% magenta, 41.67% yellow and 5.88% key (black). The closest short hexadecimal code of #f0cd8c is #fc8.

Color information

  • #f0cd8c is a shade of red-yellow.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 14.58%
    • Yellow: 41.67%
    • Key color - black: 5.88%
  • In the HSL model coordinates are:
    • Hue: 39° degrees
    • Saturation: 76.9%
    • Lightness: 74.5%
  • The values in the RGB color space are:
    • Red: 240 (94.12%)
    • Green: 205 (80.39%)
    • Blue: 140 (54.9%)


C: 0%, M: 14.58%, Y: 41.67%, K: 5.88%
R: 240, G: 205, B: 140
H: 39°, S: 76.9%, L: 74.5%

Color harmonies

#f0cd8c color HTML and CSS codes

Example CSS code:

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

#f0cd8c text/font color

How to set font color?

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

Font color is #f0cd8c.

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

#f0cd8c background color

How to set background color?

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

Background color is #f0cd8c.

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