#52B41A#52B41A

#52B41A is a light, highly saturated yellow-green. Relative luminance 0.345; OKLCH L 68.4% C 0.201 H 137.6°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#52B41A
RGBrgb(82, 180, 26)
HSLhsl(98, 75%, 40%)
HSVhsv(98, 86%, 71%)
CMYKcmyk(54.4%, 0%, 85.6%, 29.4%)
CIE-LABlab(65.36, -53.38, 61.78)
CIE-LCHlch(65.36, 81.65, 130.83°)
OKLaboklab(68.38% -0.1481 0.1353)
OKLCHoklch(68.38% 0.201 137.6)
XYZxyz(19.9867, 34.5093, 6.5848)
Luminance0.3451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52B41A #7C1AB4
analogous
#9FB41A #52B41A #1AB42F
triadic
#52B41A #1A52B4 #B41A52
tetradic
#52B41A #1A9FB4 #7C1AB4 #B42F1A
square
#52B41A #1A9FB4 #7C1AB4 #B42F1A
split-complementary
#52B41A #2F1AB4 #B41A9F
monochromatic
#21490B #3A7F12 #52B41A #6DE02B #92E860

Accessibility & contrast

On white

2.66
#52B41A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#52B41A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #52B41A
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52B41A#FFFFFF#000000##000000
##52B41A1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#AE9C2F
Tritanopia (blue-blind)
#4AAD99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #52b41a;
/* rgb */ color: rgb(82, 180, 26);
/* oklch */ color: oklch(68.4% 0.201 137.6);
Tailwind
colors: {
  custom: {
    50: '#8dcb68',
    500: '#52b41a',
    950: '#000000',
  },
}
SCSS
$custom: #52b41a;
$custom-light: #8dcb68;
$custom-dark: #000000;
JSON
{
  "hex": "#52b41a",
  "rgb": {
    "r": 82,
    "g": 180,
    "b": 26
  },
  "hsl": {
    "h": 98.182,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68381,
    "c": 0.2006,
    "h": 137.6
  },
  "luminance": 0.34511
}

Semantic roles & 50–950 ramp

primary
#52B41A
secondary
#A45DCC
accent
#36F1AD
background
#F9FCF6
surface
#F2F9EB
border
#CCD2C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #52B41A

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

Preview Lab → · Contrast checker → · Palette generator →

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