Skip to content

#cfdf7d

a light, vivid yellow · cool · closest name: khaki

RGB
207, 223, 125
HSL
70°, 61%, 68%
CMYK
7, 0, 44, 13
Luminance
0.6752

Every format

HEX#cfdf7d
RGBrgb(207, 223, 125)
HSLhsl(70, 61%, 68%)
CMYKcmyk(7%, 0%, 44%, 13%)
LABlab(85.8 -19.9 46.1)
LCHlch(85.8 50.2 113.4)
OKLCHoklch(0.870 0.124 116.7)

Copy-ready code

/* CSS */
color: #cfdf7d;
background-color: #cfdf7d;
/* Tailwind (arbitrary) */
class="text-[#cfdf7d] bg-[#cfdf7d]"
/* SCSS */
$brand: #cfdf7d;
/* SwiftUI */
Color(red: 0.812, green: 0.875, blue: 0.490)
/* Android */
Color.parseColor("#cfdf7d")

Accessibility — WCAG contrast

Aa
#cfdf7d on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#cfdf7d on black: 14.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green87.5%
Blue49.0%

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow43.9%
Key (black)12.5%

Color previews

#cfdf7d text on a black background

contrast 14.50:1

Card sample

#cfdf7d text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #cfdf7d;
Background color
Panel with #cfdf7d background
background-color: #cfdf7d;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #cfdf7d;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(207, 223, 125, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 223, 125, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfdf7d;
background: linear-gradient(135deg, #cfdf7d, #8EDF7D);

Monochromatic scale

Palettes built from #cfdf7d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf7d in the Color Lab