Skip to content

#decf89

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

RGB
222, 207, 137
HSL
49°, 56%, 70%
CMYK
0, 7, 38, 13
Luminance
0.6196

Every format

HEX#decf89
RGBrgb(222, 207, 137)
HSLhsl(49, 56%, 70%)
CMYKcmyk(0%, 7%, 38%, 13%)
LABlab(82.9 -4.7 36.7)
LCHlch(82.9 37.0 97.3)
OKLCHoklch(0.851 0.091 97.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#decf89 on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#decf89 on black: 13.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green81.2%
Blue53.7%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow38.3%
Key (black)12.9%

Color previews

#decf89 text on a black background

contrast 13.39:1

Card sample

#decf89 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decf89

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #decf89 in the Color Lab