Skip to content

#decc3c

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

RGB
222, 204, 60
HSL
53°, 71%, 55%
CMYK
0, 8, 73, 13
Luminance
0.5904

Every format

HEX#decc3c
RGBrgb(222, 204, 60)
HSLhsl(53, 71%, 55%)
CMYKcmyk(0%, 8%, 73%, 13%)
LABlab(81.3 -9.1 69.5)
LCHlch(81.3 70.2 97.5)
OKLCHoklch(0.836 0.157 102.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#decc3c on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#decc3c on black: 12.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green80.0%
Blue23.5%

CMYK percentages

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

Color previews

#decc3c text on a black background

contrast 12.81:1

Card sample

#decc3c text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decc3c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #decc3c in the Color Lab