Skip to content

#cfdb80

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

RGB
207, 219, 128
HSL
68°, 56%, 68%
CMYK
6, 0, 42, 14
Luminance
0.6549

Every format

HEX#cfdb80
RGBrgb(207, 219, 128)
HSLhsl(68, 56%, 68%)
CMYKcmyk(6%, 0%, 42%, 14%)
LABlab(84.7 -17.6 43.3)
LCHlch(84.7 46.8 112.2)
OKLCHoklch(0.862 0.116 115.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green85.9%
Blue50.2%

CMYK percentages

Cyan5.5%
Magenta0.0%
Yellow41.6%
Key (black)14.1%

Color previews

#cfdb80 text on a black background

contrast 14.10:1

Card sample

#cfdb80 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdb80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdb80 in the Color Lab