Skip to content

#cfdf55

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

RGB
207, 223, 85
HSL
67°, 68%, 60%
CMYK
7, 0, 62, 13
Luminance
0.6670

Every format

HEX#cfdf55
RGBrgb(207, 223, 85)
HSLhsl(67, 68%, 60%)
CMYKcmyk(7%, 0%, 62%, 13%)
LABlab(85.3 -23.4 63.7)
LCHlch(85.3 67.8 110.1)
OKLCHoklch(0.866 0.161 115.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green87.5%
Blue33.3%

CMYK percentages

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

Color previews

#cfdf55 text on a black background

contrast 14.34:1

Card sample

#cfdf55 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdf55

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf55 in the Color Lab