#52A821#52A821

#52A821 is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.3% C 0.184 H 137.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#52A821
RGBrgb(82, 168, 33)
HSLhsl(98, 67%, 39%)
HSVhsv(98, 80%, 66%)
CMYKcmyk(51.2%, 0%, 80.4%, 34.1%)
CIE-LABlab(61.57, -48.54, 56.49)
CIE-LCHlch(61.57, 74.48, 130.67°)
OKLaboklab(65.27% -0.1348 0.1251)
OKLCHoklch(65.27% 0.184 137.1)
XYZxyz(17.7563, 29.9076, 6.2756)
Luminance0.2991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52A821 #7721A8
analogous
#96A821 #52A821 #21A833
triadic
#52A821 #2152A8 #A82152
tetradic
#52A821 #2196A8 #7721A8 #A83321
square
#52A821 #2196A8 #7721A8 #A83321
split-complementary
#52A821 #3321A8 #A82196
monochromatic
#20420D #397517 #52A821 #6CD630 #91E063

Accessibility & contrast

On white

3.01
#52A821 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#52A821 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52A821
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52A821#FFFFFF#000000##000000
##52A8211.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#A39231
Tritanopia (blue-blind)
#4CA28F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #52a821;
/* rgb */ color: rgb(82, 168, 33);
/* oklch */ color: oklch(65.3% 0.184 137.1);
Tailwind
colors: {
  custom: {
    50: '#8bc268',
    500: '#52a821',
    950: '#000000',
  },
}
SCSS
$custom: #52a821;
$custom-light: #8bc268;
$custom-dark: #000000;
JSON
{
  "hex": "#52a821",
  "rgb": {
    "r": 82,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 98.222,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65265,
    "c": 0.18395,
    "h": 137.1
  },
  "luminance": 0.29909
}

Semantic roles & 50–950 ramp

primary
#52A821
secondary
#A05FC5
accent
#3EEAAC
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #52A821

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

Preview Lab → · Contrast checker → · Palette generator →

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