Skip to content

#cfdb82

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

RGB
207, 219, 130
HSL
68°, 55%, 68%
CMYK
6, 0, 41, 14
Luminance
0.6554

Every format

HEX#cfdb82
RGBrgb(207, 219, 130)
HSLhsl(68, 55%, 68%)
CMYKcmyk(6%, 0%, 41%, 14%)
LABlab(84.8 -17.4 42.4)
LCHlch(84.8 45.8 112.4)
OKLCHoklch(0.863 0.114 115.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green85.9%
Blue51.0%

CMYK percentages

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

Color previews

#cfdb82 text on a black background

contrast 14.11:1

Card sample

#cfdb82 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdb82

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdb82 in the Color Lab