Skip to content

#decf26

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

RGB
222, 207, 38
HSL
55°, 74%, 51%
CMYK
0, 7, 83, 13
Luminance
0.6030

Every format

HEX#decf26
RGBrgb(222, 207, 38)
HSLhsl(55, 74%, 51%)
CMYKcmyk(0%, 7%, 83%, 13%)
LABlab(82.0 -11.4 76.7)
LCHlch(82.0 77.5 98.5)
OKLCHoklch(0.841 0.170 103.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green81.2%
Blue14.9%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow82.9%
Key (black)12.9%

Color previews

#decf26 text on a black background

contrast 13.06:1

Card sample

#decf26 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decf26

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #decf26 in the Color Lab