#F0CC5F

A light, vivid yellow closely aligning with Khaki.

About #F0CC5F

The precise color #F0CC5F is an excellent choice for modern design projects. If you're using CSS, you might find it aligns closely with Khaki. Its digital footprint relies on 240 parts red, 204 parts green, and 95 parts blue light.

When sending designs containing this color to a printer, the CMYK values come into play. To reproduce this shade on paper, a printer utilizes 0% cyan and 15% magenta inks. With a hue angle of 45.1 degrees, it sits comfortably in the yellow spectrum.

Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #000000 text pairs best with this hex code. Always test your color combinations using a contrast checker before publishing.

Color Space Conversions

HEX#F0CC5F
RGB240, 204, 95
HSL45.1°, 82.9%, 65.7%
CMYK0%, 15%, 60%, 6%
HSV45.1°, 60.4%, 94.1%
LAB83.2, 0.4, 57.8
XYZ59.6, 62.5, 19.8
Decimal15780959

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

1.55:1
Text on #FFFFFF
FAIL
13.51:1
Text on #000000
AAA
1.49:1
Text on #F8FAFC
FAIL
11.48:1
Text on #0F172A
AAA

CSS Implementation

.bg-color { background-color: #F0CC5F; }
.text-color { color: #F0CC5F; }
.border-color { border: 2px solid #F0CC5F; }

Similar Colors

Khaki
#F0E68C