#52A11C#52A11C

#52A11C is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 63.4% C 0.178 H 136.2°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#52A11C
RGBrgb(82, 161, 28)
HSLhsl(96, 70%, 37%)
HSVhsv(96, 83%, 63%)
CMYKcmyk(49.1%, 0%, 82.6%, 36.9%)
CIE-LABlab(59.31, -46.07, 55.85)
CIE-LCHlch(59.31, 72.40, 129.52°)
OKLaboklab(63.4% -0.1285 0.1231)
OKLCHoklch(63.4% 0.178 136.2)
XYZxyz(16.4337, 27.3663, 5.5147)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52A11C #6B1CA1
analogous
#95A11C #52A11C #1CA129
triadic
#52A11C #1C52A1 #A11C52
tetradic
#52A11C #1C95A1 #6B1CA1 #A1291C
square
#52A11C #1C95A1 #6B1CA1 #A1291C
split-complementary
#52A11C #291CA1 #A11C95
monochromatic
#1D390A #376D13 #52A11C #6DD525 #8FE256

Accessibility & contrast

On white

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

On black

6.47
#52A11C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52A11C
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52A11C#FFFFFF#000000##000000
##52A11C1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9D8C2C
Tritanopia (blue-blind)
#4E9B89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #52a11c;
/* rgb */ color: rgb(82, 161, 28);
/* oklch */ color: oklch(63.4% 0.178 136.2);
Tailwind
colors: {
  custom: {
    50: '#8bbd65',
    500: '#52a11c',
    950: '#000000',
  },
}
SCSS
$custom: #52a11c;
$custom-light: #8bbd65;
$custom-dark: #000000;
JSON
{
  "hex": "#52a11c",
  "rgb": {
    "r": 82,
    "g": 161,
    "b": 28
  },
  "hsl": {
    "h": 95.639,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63396,
    "c": 0.17789,
    "h": 136.2
  },
  "luminance": 0.27367
}

Semantic roles & 50–950 ramp

primary
#52A11C
secondary
#9754C5
accent
#3BEDA5
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #52A11C

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

Preview Lab → · Contrast checker → · Palette generator →

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