Skip to content

#ace52d

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

RGB
172, 229, 45
HSL
79°, 78%, 54%
CMYK
25, 0, 80, 10
Luminance
0.6500

Every format

HEX#ace52d
RGBrgb(172, 229, 45)
HSLhsl(79, 78%, 54%)
CMYKcmyk(25%, 0%, 80%, 10%)
LABlab(84.5 -42.0 75.7)
LCHlch(84.5 86.6 119.0)
OKLCHoklch(0.852 0.205 126.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ace52d on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#ace52d on black: 14.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green89.8%
Blue17.6%

CMYK percentages

Cyan24.9%
Magenta0.0%
Yellow80.3%
Key (black)10.2%

Color previews

#ace52d text on a black background

contrast 14.00:1

Card sample

#ace52d text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 229, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 229, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ace52d;
background: linear-gradient(135deg, #ace52d, #31E52D);

Monochromatic scale

Palettes built from #ace52d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ace52d in the Color Lab