Skip to content

#deaf21

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

RGB
222, 175, 33
HSL
45°, 74%, 50%
CMYK
0, 21, 85, 13
Luminance
0.4630

Every format

HEX#deaf21
RGBrgb(222, 175, 33)
HSLhsl(45, 74%, 50%)
CMYKcmyk(0%, 21%, 85%, 13%)
LABlab(73.7 5.0 71.1)
LCHlch(73.7 71.2 86.0)
OKLCHoklch(0.775 0.151 88.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#deaf21 on white: 2.05:1
AA ✗ fail · AA-large · AAA
Aa
#deaf21 on black: 10.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green68.6%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta21.2%
Yellow85.1%
Key (black)12.9%

Color previews

#deaf21 text on a black background

contrast 10.26:1

Card sample

#deaf21 text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(222, 175, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 175, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #deaf21;
background: linear-gradient(135deg, #deaf21, #8FDE21);

Monochromatic scale

Palettes built from #deaf21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #deaf21 in the Color Lab