Skip to content

#decf2a

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

RGB
222, 207, 42
HSL
55°, 73%, 52%
CMYK
0, 7, 81, 13
Luminance
0.6032

Every format

HEX#decf2a
RGBrgb(222, 207, 42)
HSLhsl(55, 73%, 52%)
CMYKcmyk(0%, 7%, 81%, 13%)
LABlab(82.0 -11.3 75.7)
LCHlch(82.0 76.5 98.5)
OKLCHoklch(0.841 0.168 103.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#decf2a on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#decf2a on black: 13.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green81.2%
Blue16.5%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow81.1%
Key (black)12.9%

Color previews

#decf2a text on a black background

contrast 13.06:1

Card sample

#decf2a text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(222, 207, 42, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 207, 42, 0.45);
Border & gradient
Gradient panel
border: 3px solid #decf2a;
background: linear-gradient(135deg, #decf2a, #75DE2A);

Monochromatic scale

Palettes built from #decf2a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #decf2a in the Color Lab