Skip to content

#decf3d

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

RGB
222, 207, 61
HSL
54°, 71%, 56%
CMYK
0, 7, 73, 13
Luminance
0.6049

Every format

HEX#decf3d
RGBrgb(222, 207, 61)
HSLhsl(54, 71%, 56%)
CMYKcmyk(0%, 7%, 73%, 13%)
LABlab(82.1 -10.6 70.0)
LCHlch(82.1 70.8 98.6)
OKLCHoklch(0.842 0.159 103.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#decf3d on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#decf3d on black: 13.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green81.2%
Blue23.9%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow72.5%
Key (black)12.9%

Color previews

#decf3d text on a black background

contrast 13.10:1

Card sample

#decf3d text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decf3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #decf3d in the Color Lab