#52A522#52A522

#52A522 is a light, vivid yellow-green. Relative luminance 0.288; OKLCH L 64.5% C 0.180 H 137.0°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#52A522
RGBrgb(82, 165, 34)
HSLhsl(98, 66%, 39%)
HSVhsv(98, 79%, 65%)
CMYKcmyk(50.3%, 0%, 79.4%, 35.3%)
CIE-LABlab(60.62, -47.32, 55.29)
CIE-LCHlch(60.62, 72.78, 130.56°)
OKLaboklab(64.48% -0.1315 0.1228)
OKLCHoklch(64.48% 0.18 137)
XYZxyz(17.2230, 28.8184, 6.1680)
Luminance0.2882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52A522 #7522A5
analogous
#94A522 #52A522 #22A534
triadic
#52A522 #2252A5 #A52252
tetradic
#52A522 #2294A5 #7522A5 #A53422
square
#52A522 #2294A5 #7522A5 #A53422
split-complementary
#52A522 #3422A5 #A52294
monochromatic
#20400D #397218 #52A522 #6CD430 #90DF63

Accessibility & contrast

On white

3.10
#52A522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#52A522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52A522
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52A522#FFFFFF#000000##000000
##52A5221.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#A09031
Tritanopia (blue-blind)
#4D9F8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #52a522;
/* rgb */ color: rgb(82, 165, 34);
/* oklch */ color: oklch(64.5% 0.180 137.0);
Tailwind
colors: {
  custom: {
    50: '#8bc068',
    500: '#52a522',
    950: '#000000',
  },
}
SCSS
$custom: #52a522;
$custom-light: #8bc068;
$custom-dark: #000000;
JSON
{
  "hex": "#52a522",
  "rgb": {
    "r": 82,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 98.015,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64482,
    "c": 0.17989,
    "h": 137
  },
  "luminance": 0.2882
}

Semantic roles & 50–950 ramp

primary
#52A522
secondary
#9F5FC4
accent
#3FE9AB
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #52A522

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

Preview Lab → · Contrast checker → · Palette generator →

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