Skip to content

#aceb2a

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

RGB
172, 235, 42
HSL
80°, 83%, 54%
CMYK
27, 0, 82, 8
Luminance
0.6835

Every format

HEX#aceb2a
RGBrgb(172, 235, 42)
HSLhsl(80, 83%, 54%)
CMYKcmyk(27%, 0%, 82%, 8%)
LABlab(86.2 -44.7 78.0)
LCHlch(86.2 89.8 119.8)
OKLCHoklch(0.866 0.213 127.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aceb2a on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#aceb2a on black: 14.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green92.2%
Blue16.5%

CMYK percentages

Cyan26.8%
Magenta0.0%
Yellow82.1%
Key (black)7.8%

Color previews

#aceb2a text on a black background

contrast 14.67:1

Card sample

#aceb2a text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 235, 42, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 235, 42, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aceb2a;
background: linear-gradient(135deg, #aceb2a, #2BEB2A);

Monochromatic scale

Palettes built from #aceb2a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aceb2a in the Color Lab