Skip to content

#cfdb79

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

RGB
207, 219, 121
HSL
67°, 58%, 67%
CMYK
6, 0, 45, 14
Luminance
0.6531

Every format

HEX#cfdb79
RGBrgb(207, 219, 121)
HSLhsl(67, 58%, 67%)
CMYKcmyk(6%, 0%, 45%, 14%)
LABlab(84.6 -18.4 46.6)
LCHlch(84.6 50.1 111.5)
OKLCHoklch(0.861 0.123 114.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfdb79 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#cfdb79 on black: 14.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green85.9%
Blue47.5%

CMYK percentages

Cyan5.5%
Magenta0.0%
Yellow44.7%
Key (black)14.1%

Color previews

#cfdb79 text on a black background

contrast 14.06:1

Card sample

#cfdb79 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 219, 121, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 219, 121, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfdb79;
background: linear-gradient(135deg, #cfdb79, #8EDB79);

Monochromatic scale

Palettes built from #cfdb79

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdb79 in the Color Lab