Skip to content

#cfdf5d

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

RGB
207, 223, 93
HSL
67°, 67%, 62%
CMYK
7, 0, 58, 13
Luminance
0.6683

Every format

HEX#cfdf5d
RGBrgb(207, 223, 93)
HSLhsl(67, 67%, 62%)
CMYKcmyk(7%, 0%, 58%, 13%)
LABlab(85.4 -22.8 60.4)
LCHlch(85.4 64.6 110.7)
OKLCHoklch(0.866 0.155 115.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfdf5d on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#cfdf5d on black: 14.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green87.5%
Blue36.5%

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow58.3%
Key (black)12.5%

Color previews

#cfdf5d text on a black background

contrast 14.37:1

Card sample

#cfdf5d text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdf5d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf5d in the Color Lab