Skip to content

#dec92f

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

RGB
222, 201, 47
HSL
53°, 73%, 53%
CMYK
0, 10, 79, 13
Luminance
0.5751

Every format

HEX#dec92f
RGBrgb(222, 201, 47)
HSLhsl(53, 73%, 53%)
CMYKcmyk(0%, 10%, 79%, 13%)
LABlab(80.5 -8.1 73.0)
LCHlch(80.5 73.4 96.3)
OKLCHoklch(0.829 0.161 101.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#dec92f text on a black background

contrast 12.50:1

Card sample

#dec92f text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dec92f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dec92f in the Color Lab