Skip to content

#abec21

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

RGB
171, 236, 33
HSL
79°, 84%, 53%
CMYK
28, 0, 86, 8
Luminance
0.6876

Every format

HEX#abec21
RGBrgb(171, 236, 33)
HSLhsl(79, 84%, 53%)
CMYKcmyk(28%, 0%, 86%, 8%)
LABlab(86.4 -45.7 80.0)
LCHlch(86.4 92.2 119.8)
OKLCHoklch(0.867 0.218 127.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abec21 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#abec21 on black: 14.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green92.5%
Blue12.9%

CMYK percentages

Cyan27.5%
Magenta0.0%
Yellow86.0%
Key (black)7.5%

Color previews

#abec21 text on a black background

contrast 14.75:1

Card sample

#abec21 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 236, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 236, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abec21;
background: linear-gradient(135deg, #abec21, #24EC21);

Monochromatic scale

Palettes built from #abec21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abec21 in the Color Lab