Skip to content

#cfdf59

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

RGB
207, 223, 89
HSL
67°, 68%, 61%
CMYK
7, 0, 60, 13
Luminance
0.6676

Every format

HEX#cfdf59
RGBrgb(207, 223, 89)
HSLhsl(67, 68%, 61%)
CMYKcmyk(7%, 0%, 60%, 13%)
LABlab(85.4 -23.1 62.1)
LCHlch(85.4 66.2 110.4)
OKLCHoklch(0.866 0.158 115.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green87.5%
Blue34.9%

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow60.1%
Key (black)12.5%

Color previews

#cfdf59 text on a black background

contrast 14.35:1

Card sample

#cfdf59 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdf59

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf59 in the Color Lab