Skip to content

#dec82f

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

RGB
222, 200, 47
HSL
53°, 73%, 53%
CMYK
0, 10, 79, 13
Luminance
0.5704

Every format

HEX#dec82f
RGBrgb(222, 200, 47)
HSLhsl(53, 73%, 53%)
CMYKcmyk(0%, 10%, 79%, 13%)
LABlab(80.2 -7.6 72.7)
LCHlch(80.2 73.1 96.0)
OKLCHoklch(0.827 0.160 100.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dec82f on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#dec82f on black: 12.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green78.4%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta9.9%
Yellow78.8%
Key (black)12.9%

Color previews

#dec82f text on a black background

contrast 12.41:1

Card sample

#dec82f text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dec82f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dec82f in the Color Lab