Skip to content

#cfdc5d

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

RGB
207, 220, 93
HSL
66°, 65%, 61%
CMYK
6, 0, 58, 14
Luminance
0.6524

Every format

HEX#cfdc5d
RGBrgb(207, 220, 93)
HSLhsl(66, 65%, 61%)
CMYKcmyk(6%, 0%, 58%, 14%)
LABlab(84.6 -21.3 59.5)
LCHlch(84.6 63.2 109.7)
OKLCHoklch(0.860 0.151 114.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfdc5d on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#cfdc5d on black: 14.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green86.3%
Blue36.5%

CMYK percentages

Cyan5.9%
Magenta0.0%
Yellow57.7%
Key (black)13.7%

Color previews

#cfdc5d text on a black background

contrast 14.05:1

Card sample

#cfdc5d text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 220, 93, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 220, 93, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfdc5d;
background: linear-gradient(135deg, #cfdc5d, #7ADC5D);

Monochromatic scale

Palettes built from #cfdc5d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdc5d in the Color Lab