#52AC22#52AC22

#52AC22 is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.3% C 0.188 H 137.5°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#52AC22
RGBrgb(82, 172, 34)
HSLhsl(99, 67%, 40%)
HSVhsv(99, 80%, 67%)
CMYKcmyk(52.3%, 0%, 80.2%, 32.5%)
CIE-LABlab(62.85, -50.02, 57.39)
CIE-LCHlch(62.85, 76.13, 131.07°)
OKLaboklab(66.32% -0.1387 0.1272)
OKLCHoklch(66.32% 0.188 137.5)
XYZxyz(18.5203, 31.4130, 6.6004)
Luminance0.3141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52AC22 #7C22AC
analogous
#97AC22 #52AC22 #22AC37
triadic
#52AC22 #2252AC #AC2252
tetradic
#52AC22 #2297AC #7C22AC #AC3722
square
#52AC22 #2297AC #7C22AC #AC3722
split-complementary
#52AC22 #3722AC #AC2297
monochromatic
#21460E #3A7918 #52AC22 #6DD734 #92E167

Accessibility & contrast

On white

2.88
#52AC22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#52AC22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #52AC22
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52AC22#FFFFFF#000000##000000
##52AC221.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#A69532
Tritanopia (blue-blind)
#4CA693
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #52ac22;
/* rgb */ color: rgb(82, 172, 34);
/* oklch */ color: oklch(66.3% 0.188 137.5);
Tailwind
colors: {
  custom: {
    50: '#8cc569',
    500: '#52ac22',
    950: '#000000',
  },
}
SCSS
$custom: #52ac22;
$custom-light: #8cc569;
$custom-dark: #000000;
JSON
{
  "hex": "#52ac22",
  "rgb": {
    "r": 82,
    "g": 172,
    "b": 34
  },
  "hsl": {
    "h": 99.13,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66322,
    "c": 0.18819,
    "h": 137.5
  },
  "luminance": 0.31414
}

Semantic roles & 50–950 ramp

primary
#52AC22
secondary
#A463C7
accent
#3EEAAE
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #52AC22

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#52AC22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva