Skip to content

#cfdb78

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

RGB
207, 219, 120
HSL
67°, 58%, 67%
CMYK
6, 0, 45, 14
Luminance
0.6528

Every format

HEX#cfdb78
RGBrgb(207, 219, 120)
HSLhsl(67, 58%, 67%)
CMYKcmyk(6%, 0%, 45%, 14%)
LABlab(84.6 -18.5 47.1)
LCHlch(84.6 50.6 111.4)
OKLCHoklch(0.861 0.124 114.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green85.9%
Blue47.1%

CMYK percentages

Cyan5.5%
Magenta0.0%
Yellow45.2%
Key (black)14.1%

Color previews

#cfdb78 text on a black background

contrast 14.06:1

Card sample

#cfdb78 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdb78

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdb78 in the Color Lab