Skip to content

#cfdf6e

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

RGB
207, 223, 110
HSL
69°, 64%, 65%
CMYK
7, 0, 51, 13
Luminance
0.6717

Every format

HEX#cfdf6e
RGBrgb(207, 223, 110)
HSLhsl(69, 64%, 65%)
CMYKcmyk(7%, 0%, 51%, 13%)
LABlab(85.6 -21.4 53.0)
LCHlch(85.6 57.1 112.0)
OKLCHoklch(0.868 0.139 116.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green87.5%
Blue43.1%

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow50.7%
Key (black)12.5%

Color previews

#cfdf6e text on a black background

contrast 14.43:1

Card sample

#cfdf6e text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdf6e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf6e in the Color Lab