Skip to content

#decc6f

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

RGB
222, 204, 111
HSL
50°, 63%, 65%
CMYK
0, 8, 50, 13
Luminance
0.5986

Every format

HEX#decc6f
RGBrgb(222, 204, 111)
HSLhsl(50, 63%, 65%)
CMYKcmyk(0%, 8%, 50%, 13%)
LABlab(81.8 -5.8 48.2)
LCHlch(81.8 48.6 96.8)
OKLCHoklch(0.841 0.116 98.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#decc6f on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#decc6f on black: 12.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green80.0%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta8.1%
Yellow50.0%
Key (black)12.9%

Color previews

#decc6f text on a black background

contrast 12.97:1

Card sample

#decc6f text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decc6f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #decc6f in the Color Lab