#FFFF7C

A light, vivid yellow closely aligning with Khaki.

About #FFFF7C

The precise color #FFFF7C is an excellent choice for modern design projects. It is closely associated with the named CSS color Khaki. To achieve this exact tint on a monitor, you would use an RGB mix of 255, 255, and 124.

If you are designing for print, the four-color process is what matters most. Its ink density profile breaks down to 0% cyan, 0% magenta, 51% yellow, and 0% black. This makes it a relatively light color when applied to physical surfaces.

When using this color as a background, text legibility must be considered. Because it is a light color, it is generally recommended to use #000000 text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#FFFF7C
RGB255, 255, 124
HSL60.0°, 100.0%, 74.3%
CMYK0%, 0%, 51%, 0%
HSV60.0°, 51.4%, 100.0%
LAB97.7, -16.9, 61.7
XYZ80.6, 94.2, 33.0
Decimal16777084

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

1.06:1
Text on #FFFFFF
FAIL
19.85:1
Text on #000000
AAA
1.01:1
Text on #F8FAFC
FAIL
16.87:1
Text on #0F172A
AAA

CSS Implementation

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

Similar Colors

Khaki
#F0E68C