#52A222#52A222

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

Color values

HEX#52A222
RGBrgb(82, 162, 34)
HSLhsl(98, 65%, 38%)
HSVhsv(98, 79%, 64%)
CMYKcmyk(49.4%, 0%, 79%, 36.5%)
CIE-LABlab(59.66, -46.14, 54.39)
CIE-LCHlch(59.66, 71.32, 130.31°)
OKLaboklab(63.69% -0.1283 0.1209)
OKLCHoklch(63.69% 0.176 136.7)
XYZxyz(16.6883, 27.7488, 5.9898)
Luminance0.2775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52A222 #7222A2
analogous
#92A222 #52A222 #22A232
triadic
#52A222 #2252A2 #A22252
tetradic
#52A222 #2292A2 #7222A2 #A23222
square
#52A222 #2292A2 #7222A2 #A23222
split-complementary
#52A222 #3222A2 #A22292
monochromatic
#1F3D0D #386F17 #52A222 #6CD32E #90DE61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52A222#FFFFFF#000000##000000
##52A2221.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: #52a222;
/* rgb */ color: rgb(82, 162, 34);
/* oklch */ color: oklch(63.7% 0.176 136.7);
Tailwind
colors: {
  custom: {
    50: '#8bbe68',
    500: '#52a222',
    950: '#000000',
  },
}
SCSS
$custom: #52a222;
$custom-light: #8bbe68;
$custom-dark: #000000;
JSON
{
  "hex": "#52a222",
  "rgb": {
    "r": 82,
    "g": 162,
    "b": 34
  },
  "hsl": {
    "h": 97.5,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63692,
    "c": 0.17629,
    "h": 136.7
  },
  "luminance": 0.2775
}

Semantic roles & 50–950 ramp

primary
#52A222
secondary
#9D5DC3
accent
#40E8A9
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #52A222

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

Preview Lab → · Contrast checker → · Palette generator →

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