#52A126#52A126

#52A126 is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 63.5% C 0.173 H 136.9°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#52A126
RGBrgb(82, 161, 38)
HSLhsl(99, 62%, 39%)
HSVhsv(99, 76%, 63%)
CMYKcmyk(49.1%, 0%, 76.4%, 36.9%)
CIE-LABlab(59.36, -45.50, 52.77)
CIE-LCHlch(59.36, 69.68, 130.77°)
OKLaboklab(63.45% -0.1263 0.1181)
OKLCHoklch(63.45% 0.173 136.9)
XYZxyz(16.5739, 27.4224, 6.2531)
Luminance0.2742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52A126 #7526A1
analogous
#90A126 #52A126 #26A138
triadic
#52A126 #2652A1 #A12652
tetradic
#52A126 #2690A1 #7526A1 #A13826
square
#52A126 #2690A1 #7526A1 #A13826
split-complementary
#52A126 #3826A1 #A12690
monochromatic
#203E0F #396F1A #52A126 #6CCF35 #90DB66

Accessibility & contrast

On white

3.24
#52A126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#52A126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52A126
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52A126#FFFFFF#000000##000000
##52A1261.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7930A
Deuteranopia (green-blind)
#9C8C33
Tritanopia (blue-blind)
#4D9B8A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #52a126;
/* rgb */ color: rgb(82, 161, 38);
/* oklch */ color: oklch(63.5% 0.173 136.9);
Tailwind
colors: {
  custom: {
    50: '#8abd6a',
    500: '#52a126',
    950: '#000000',
  },
}
SCSS
$custom: #52a126;
$custom-light: #8abd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#52a126",
  "rgb": {
    "r": 82,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 98.537,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63454,
    "c": 0.17294,
    "h": 136.9
  },
  "luminance": 0.27424
}

Semantic roles & 50–950 ramp

primary
#52A126
secondary
#9F62C1
accent
#43E5AB
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #52A126

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

Preview Lab → · Contrast checker → · Palette generator →

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