Skip to content

#decf86

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

RGB
222, 207, 134
HSL
50°, 57%, 70%
CMYK
0, 7, 40, 13
Luminance
0.6188

Every format

HEX#decf86
RGBrgb(222, 207, 134)
HSLhsl(50, 57%, 70%)
CMYKcmyk(0%, 7%, 40%, 13%)
LABlab(82.8 -5.1 38.1)
LCHlch(82.8 38.5 97.6)
OKLCHoklch(0.850 0.094 98.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green81.2%
Blue52.5%

CMYK percentages

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

Color previews

#decf86 text on a black background

contrast 13.38:1

Card sample

#decf86 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decf86

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #decf86 in the Color Lab