#52A921#52A921

#52A921 is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 65.5% C 0.185 H 137.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#52A921
RGBrgb(82, 169, 33)
HSLhsl(98, 67%, 40%)
HSVhsv(98, 80%, 66%)
CMYKcmyk(51.5%, 0%, 80.5%, 33.7%)
CIE-LABlab(61.89, -48.93, 56.79)
CIE-LCHlch(61.89, 74.96, 130.75°)
OKLaboklab(65.53% -0.1359 0.1258)
OKLCHoklch(65.53% 0.185 137.2)
XYZxyz(17.9416, 30.2783, 6.3374)
Luminance0.3028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52A921 #7821A9
analogous
#96A921 #52A921 #21A934
triadic
#52A921 #2152A9 #A92152
tetradic
#52A921 #2196A9 #7821A9 #A93421
square
#52A921 #2196A9 #7821A9 #A93421
split-complementary
#52A921 #3421A9 #A92196
monochromatic
#20430D #397617 #52A921 #6CD731 #91E164

Accessibility & contrast

On white

2.98
#52A921 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#52A921 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #52A921
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52A921#FFFFFF#000000##000000
##52A9211.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#A49331
Tritanopia (blue-blind)
#4CA390
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #52a921;
/* rgb */ color: rgb(82, 169, 33);
/* oklch */ color: oklch(65.5% 0.185 137.2);
Tailwind
colors: {
  custom: {
    50: '#8cc368',
    500: '#52a921',
    950: '#000000',
  },
}
SCSS
$custom: #52a921;
$custom-light: #8cc368;
$custom-dark: #000000;
JSON
{
  "hex": "#52a921",
  "rgb": {
    "r": 82,
    "g": 169,
    "b": 33
  },
  "hsl": {
    "h": 98.382,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65528,
    "c": 0.18513,
    "h": 137.2
  },
  "luminance": 0.3028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #52A921

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

Preview Lab → · Contrast checker → · Palette generator →

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