Skip to content

#adfb21

a balanced, electric green · cool · closest name: yellow

RGB
173, 251, 33
HSL
82°, 97%, 56%
CMYK
31, 0, 87, 2
Luminance
0.7799

Every format

HEX#adfb21
RGBrgb(173, 251, 33)
HSLhsl(82, 97%, 56%)
CMYKcmyk(31%, 0%, 87%, 2%)
LABlab(90.8 -51.3 83.8)
LCHlch(90.8 98.2 121.5)
OKLCHoklch(0.903 0.234 129.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#adfb21 on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#adfb21 on black: 16.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green98.4%
Blue12.9%

CMYK percentages

Cyan31.1%
Magenta0.0%
Yellow86.9%
Key (black)1.6%

Color previews

#adfb21 text on a black background

contrast 16.60:1

Card sample

#adfb21 text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(173, 251, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 251, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #adfb21;
background: linear-gradient(135deg, #adfb21, #21FB26);

Monochromatic scale

Palettes built from #adfb21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #adfb21 in the Color Lab