⤺ color picker
0
Reddit

#f0e68c Color Hex (khaki)

Hex color #f0e68c, RGB(240, 230, 140) - also known as khaki - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


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

Color information

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

Conversions

Hex:
#f0e68c
CMYK:
C: 0%, M: 4.17%, Y: 41.67%, K: 5.88%
RGB:
R: 240, G: 230, B: 140
HSL:
H: 54°, S: 76.9%, L: 74.5%

Color harmonies

#f0e68c color HTML and CSS codes

Example CSS code:

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

#f0e68c text/font color

How to set font color?

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

Font color is #f0e68c.

Compromise in colors is grey.
- Edi Rama

#f0e68c background color

How to set background color?

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

Background color is #f0e68c.

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