Skip to content

#adf02c

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

RGB
173, 240, 44
HSL
81°, 87%, 56%
CMYK
28, 0, 82, 6
Luminance
0.7139

Every format

HEX#adf02c
RGBrgb(173, 240, 44)
HSLhsl(81, 87%, 56%)
CMYKcmyk(28%, 0%, 82%, 6%)
LABlab(87.7 -46.4 78.8)
LCHlch(87.7 91.4 120.5)
OKLCHoklch(0.878 0.218 127.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#adf02c on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#adf02c on black: 15.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green94.1%
Blue17.3%

CMYK percentages

Cyan27.9%
Magenta0.0%
Yellow81.7%
Key (black)5.9%

Color previews

#adf02c text on a black background

contrast 15.28:1

Card sample

#adf02c text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #adf02c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #adf02c in the Color Lab