Skip to content

#decc6c

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

RGB
222, 204, 108
HSL
51°, 63%, 65%
CMYK
0, 8, 51, 13
Luminance
0.5980

Every format

HEX#decc6c
RGBrgb(222, 204, 108)
HSLhsl(51, 63%, 65%)
CMYKcmyk(0%, 8%, 51%, 13%)
LABlab(81.7 -6.0 49.6)
LCHlch(81.7 50.0 97.0)
OKLCHoklch(0.840 0.119 98.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green80.0%
Blue42.4%

CMYK percentages

Cyan0.0%
Magenta8.1%
Yellow51.4%
Key (black)12.9%

Color previews

#decc6c text on a black background

contrast 12.96:1

Card sample

#decc6c text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decc6c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #decc6c in the Color Lab