Skip to content

#dec76c

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

RGB
222, 199, 108
HSL
48°, 63%, 65%
CMYK
0, 10, 51, 13
Luminance
0.5746

Every format

HEX#dec76c
RGBrgb(222, 199, 108)
HSLhsl(48, 63%, 65%)
CMYKcmyk(0%, 10%, 51%, 13%)
LABlab(80.4 -3.5 48.1)
LCHlch(80.4 48.2 94.1)
OKLCHoklch(0.830 0.115 95.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dec76c on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#dec76c on black: 12.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green78.0%
Blue42.4%

CMYK percentages

Cyan0.0%
Magenta10.4%
Yellow51.4%
Key (black)12.9%

Color previews

#dec76c text on a black background

contrast 12.49:1

Card sample

#dec76c text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dec76c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dec76c in the Color Lab