Skip to content

#decf46

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

RGB
222, 207, 70
HSL
54°, 70%, 57%
CMYK
0, 7, 69, 13
Luminance
0.6060

Every format

HEX#decf46
RGBrgb(222, 207, 70)
HSLhsl(54, 70%, 57%)
CMYKcmyk(0%, 7%, 69%, 13%)
LABlab(82.2 -10.2 66.7)
LCHlch(82.2 67.5 98.7)
OKLCHoklch(0.843 0.153 103.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green81.2%
Blue27.5%

CMYK percentages

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

Color previews

#decf46 text on a black background

contrast 13.12:1

Card sample

#decf46 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decf46

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #decf46 in the Color Lab