Skip to content

#cfdb89

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

RGB
207, 219, 137
HSL
69°, 53%, 70%
CMYK
6, 0, 37, 14
Luminance
0.6573

Every format

HEX#cfdb89
RGBrgb(207, 219, 137)
HSLhsl(69, 53%, 70%)
CMYKcmyk(6%, 0%, 37%, 14%)
LABlab(84.9 -16.6 39.0)
LCHlch(84.9 42.4 113.1)
OKLCHoklch(0.864 0.106 115.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfdb89 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#cfdb89 on black: 14.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green85.9%
Blue53.7%

CMYK percentages

Cyan5.5%
Magenta0.0%
Yellow37.4%
Key (black)14.1%

Color previews

#cfdb89 text on a black background

contrast 14.15:1

Card sample

#cfdb89 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdb89

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdb89 in the Color Lab