#52A221#52A221

#52A221 is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 63.7% C 0.177 H 136.6°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#52A221
RGBrgb(82, 162, 33)
HSLhsl(97, 66%, 38%)
HSVhsv(97, 80%, 64%)
CMYKcmyk(49.4%, 0%, 79.6%, 36.5%)
CIE-LABlab(59.66, -46.20, 54.70)
CIE-LCHlch(59.66, 71.60, 130.19°)
OKLaboklab(63.69% -0.1285 0.1214)
OKLCHoklch(63.69% 0.177 136.6)
XYZxyz(16.6740, 27.7432, 5.9149)
Luminance0.2774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52A221 #7121A2
analogous
#92A221 #52A221 #21A230
triadic
#52A221 #2152A2 #A22152
tetradic
#52A221 #2192A2 #7121A2 #A23021
square
#52A221 #2192A2 #7121A2 #A23021
split-complementary
#52A221 #3021A2 #A22192
monochromatic
#1F3C0C #386F17 #52A221 #6CD42C #8FDE5F

Accessibility & contrast

On white

3.21
#52A221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#52A221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52A221
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52A221#FFFFFF#000000##000000
##52A2211.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#9D8D30
Tritanopia (blue-blind)
#4E9C8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #52a221;
/* rgb */ color: rgb(82, 162, 33);
/* oklch */ color: oklch(63.7% 0.177 136.6);
Tailwind
colors: {
  custom: {
    50: '#8bbe67',
    500: '#52a221',
    950: '#000000',
  },
}
SCSS
$custom: #52a221;
$custom-light: #8bbe67;
$custom-dark: #000000;
JSON
{
  "hex": "#52a221",
  "rgb": {
    "r": 82,
    "g": 162,
    "b": 33
  },
  "hsl": {
    "h": 97.209,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63686,
    "c": 0.17679,
    "h": 136.6
  },
  "luminance": 0.27744
}

Semantic roles & 50–950 ramp

primary
#52A221
secondary
#9C5CC3
accent
#3FE9A8
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #52A221

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

Preview Lab → · Contrast checker → · Palette generator →

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