Skip to content

#adf021

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

RGB
173, 240, 33
HSL
79°, 87%, 54%
CMYK
28, 0, 86, 6
Luminance
0.7131

Every format

HEX#adf021
RGBrgb(173, 240, 33)
HSLhsl(79, 87%, 54%)
CMYKcmyk(28%, 0%, 86%, 6%)
LABlab(87.6 -46.7 81.1)
LCHlch(87.6 93.6 119.9)
OKLCHoklch(0.878 0.221 127.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#adf021 on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#adf021 on black: 15.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green94.1%
Blue12.9%

CMYK percentages

Cyan27.9%
Magenta0.0%
Yellow86.3%
Key (black)5.9%

Color previews

#adf021 text on a black background

contrast 15.26:1

Card sample

#adf021 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #adf021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #adf021 in the Color Lab