Skip to content

#cfdb84

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

RGB
207, 219, 132
HSL
68°, 55%, 69%
CMYK
6, 0, 40, 14
Luminance
0.6559

Every format

HEX#cfdb84
RGBrgb(207, 219, 132)
HSLhsl(68, 55%, 69%)
CMYKcmyk(6%, 0%, 40%, 14%)
LABlab(84.8 -17.2 41.4)
LCHlch(84.8 44.8 112.6)
OKLCHoklch(0.863 0.112 115.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green85.9%
Blue51.8%

CMYK percentages

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

Color previews

#cfdb84 text on a black background

contrast 14.12:1

Card sample

#cfdb84 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdb84

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdb84 in the Color Lab