Skip to content

#dedf39

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

RGB
222, 223, 57
HSL
60°, 72%, 55%
CMYK
0, 0, 74, 13
Luminance
0.6860

Every format

HEX#dedf39
RGBrgb(222, 223, 57)
HSLhsl(60, 72%, 55%)
CMYKcmyk(0%, 0%, 74%, 13%)
LABlab(86.3 -18.7 75.2)
LCHlch(86.3 77.5 104.0)
OKLCHoklch(0.875 0.175 109.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dedf39 on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#dedf39 on black: 14.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green87.5%
Blue22.4%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow74.4%
Key (black)12.5%

Color previews

#dedf39 text on a black background

contrast 14.72:1

Card sample

#dedf39 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(222, 223, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 223, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dedf39;
background: linear-gradient(135deg, #dedf39, #6FDF39);

Monochromatic scale

Palettes built from #dedf39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dedf39 in the Color Lab