#52A227#52A227

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

Color values

HEX#52A227
RGBrgb(82, 162, 39)
HSLhsl(99, 61%, 39%)
HSVhsv(99, 76%, 64%)
CMYKcmyk(49.4%, 0%, 75.9%, 36.5%)
CIE-LABlab(59.69, -45.83, 52.75)
CIE-LCHlch(59.69, 69.88, 130.99°)
OKLaboklab(63.72% -0.1272 0.1182)
OKLCHoklch(63.72% 0.174 137.1)
XYZxyz(16.7657, 27.7798, 6.3977)
Luminance0.2778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52A227 #7727A2
analogous
#90A227 #52A227 #27A239
triadic
#52A227 #2752A2 #A22752
tetradic
#52A227 #2790A2 #7727A2 #A23927
square
#52A227 #2790A2 #7727A2 #A23927
split-complementary
#52A227 #3927A2 #A22790
monochromatic
#203F0F #39711B #52A227 #6CCF37 #91DB69

Accessibility & contrast

On white

3.20
#52A227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#52A227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52A227
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52A227#FFFFFF#000000##000000
##52A2271.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8940C
Deuteranopia (green-blind)
#9D8D34
Tritanopia (blue-blind)
#4D9C8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #52a227;
/* rgb */ color: rgb(82, 162, 39);
/* oklch */ color: oklch(63.7% 0.174 137.1);
Tailwind
colors: {
  custom: {
    50: '#8abe6a',
    500: '#52a227',
    950: '#000000',
  },
}
SCSS
$custom: #52a227;
$custom-light: #8abe6a;
$custom-dark: #000000;
JSON
{
  "hex": "#52a227",
  "rgb": {
    "r": 82,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 99.024,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63724,
    "c": 0.17361,
    "h": 137.1
  },
  "luminance": 0.27781
}

Semantic roles & 50–950 ramp

primary
#52A227
secondary
#A064C1
accent
#43E4AC
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #52A227

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

Preview Lab → · Contrast checker → · Palette generator →

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