Skip to content

#cfdf4d

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

RGB
207, 223, 77
HSL
67°, 70%, 59%
CMYK
7, 0, 66, 13
Luminance
0.6658

Every format

HEX#cfdf4d
RGBrgb(207, 223, 77)
HSLhsl(67, 70%, 59%)
CMYKcmyk(7%, 0%, 66%, 13%)
LABlab(85.3 -23.9 66.8)
LCHlch(85.3 71.0 109.6)
OKLCHoklch(0.865 0.167 115.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfdf4d on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#cfdf4d on black: 14.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green87.5%
Blue30.2%

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow65.5%
Key (black)12.5%

Color previews

#cfdf4d text on a black background

contrast 14.32:1

Card sample

#cfdf4d text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdf4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf4d in the Color Lab