Skip to content

#decf87

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

RGB
222, 207, 135
HSL
50°, 57%, 70%
CMYK
0, 7, 39, 13
Luminance
0.6190

Every format

HEX#decf87
RGBrgb(222, 207, 135)
HSLhsl(50, 57%, 70%)
CMYKcmyk(0%, 7%, 39%, 13%)
LABlab(82.9 -5.0 37.7)
LCHlch(82.9 38.0 97.5)
OKLCHoklch(0.851 0.093 97.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green81.2%
Blue52.9%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow39.2%
Key (black)12.9%

Color previews

#decf87 text on a black background

contrast 13.38:1

Card sample

#decf87 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decf87

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #decf87 in the Color Lab