Skip to content

#cfdf4c

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

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

Every format

HEX#cfdf4c
RGBrgb(207, 223, 76)
HSLhsl(67, 70%, 59%)
CMYKcmyk(7%, 0%, 66%, 13%)
LABlab(85.3 -23.9 67.2)
LCHlch(85.3 71.3 109.6)
OKLCHoklch(0.865 0.168 115.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green87.5%
Blue29.8%

CMYK percentages

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

Color previews

#cfdf4c text on a black background

contrast 14.31:1

Card sample

#cfdf4c text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdf4c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf4c in the Color Lab