#52A226#52A226

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

Color values

HEX#52A226
RGBrgb(82, 162, 38)
HSLhsl(99, 62%, 39%)
HSVhsv(99, 77%, 64%)
CMYKcmyk(49.4%, 0%, 76.5%, 36.5%)
CIE-LABlab(59.68, -45.90, 53.09)
CIE-LCHlch(59.68, 70.18, 130.85°)
OKLaboklab(63.72% -0.1274 0.1188)
OKLCHoklch(63.72% 0.174 137)
XYZxyz(16.7493, 27.7733, 6.3115)
Luminance0.2777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52A226 #7626A2
analogous
#90A226 #52A226 #26A238
triadic
#52A226 #2652A2 #A22652
tetradic
#52A226 #2690A2 #7626A2 #A23826
square
#52A226 #2690A2 #7626A2 #A23826
split-complementary
#52A226 #3826A2 #A22690
monochromatic
#203F0F #39701A #52A226 #6CD035 #90DB67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52A226#FFFFFF#000000##000000
##52A2261.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89409
Deuteranopia (green-blind)
#9D8D33
Tritanopia (blue-blind)
#4D9C8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #52a226;
/* rgb */ color: rgb(82, 162, 38);
/* oklch */ color: oklch(63.7% 0.174 137.0);
Tailwind
colors: {
  custom: {
    50: '#8abe6a',
    500: '#52a226',
    950: '#000000',
  },
}
SCSS
$custom: #52a226;
$custom-light: #8abe6a;
$custom-dark: #000000;
JSON
{
  "hex": "#52a226",
  "rgb": {
    "r": 82,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 98.71,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63718,
    "c": 0.17418,
    "h": 137
  },
  "luminance": 0.27774
}

Semantic roles & 50–950 ramp

primary
#52A226
secondary
#A063C1
accent
#43E5AB
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #52A226

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

Preview Lab → · Contrast checker → · Palette generator →

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