#52AC21#52AC21

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

Color values

HEX#52AC21
RGBrgb(82, 172, 33)
HSLhsl(99, 68%, 40%)
HSVhsv(99, 81%, 67%)
CMYKcmyk(52.3%, 0%, 80.8%, 32.5%)
CIE-LABlab(62.85, -50.07, 57.68)
CIE-LCHlch(62.85, 76.38, 130.96°)
OKLaboklab(66.32% -0.1389 0.1276)
OKLCHoklch(66.32% 0.189 137.4)
XYZxyz(18.5061, 31.4073, 6.5256)
Luminance0.3141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52AC21 #7B21AC
analogous
#97AC21 #52AC21 #21AC35
triadic
#52AC21 #2152AC #AC2152
tetradic
#52AC21 #2197AC #7B21AC #AC3521
square
#52AC21 #2197AC #7B21AC #AC3521
split-complementary
#52AC21 #3521AC #AC2197
monochromatic
#21450D #3A7917 #52AC21 #6DD832 #91E266

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52AC21#FFFFFF#000000##000000
##52AC211.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: #52ac21;
/* rgb */ color: rgb(82, 172, 33);
/* oklch */ color: oklch(66.3% 0.189 137.4);
Tailwind
colors: {
  custom: {
    50: '#8cc569',
    500: '#52ac21',
    950: '#000000',
  },
}
SCSS
$custom: #52ac21;
$custom-light: #8cc569;
$custom-dark: #000000;
JSON
{
  "hex": "#52ac21",
  "rgb": {
    "r": 82,
    "g": 172,
    "b": 33
  },
  "hsl": {
    "h": 98.849,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66316,
    "c": 0.18865,
    "h": 137.4
  },
  "luminance": 0.31409
}

Semantic roles & 50–950 ramp

primary
#52AC21
secondary
#A362C7
accent
#3DEBAD
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #52AC21

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

Preview Lab → · Contrast checker → · Palette generator →

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