#52A11B#52A11B

#52A11B 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#52A11B
RGBrgb(82, 161, 27)
HSLhsl(95, 71%, 37%)
HSVhsv(95, 83%, 63%)
CMYKcmyk(49.1%, 0%, 83.2%, 36.9%)
CIE-LABlab(59.31, -46.12, 56.12)
CIE-LCHlch(59.31, 72.64, 129.41°)
OKLaboklab(63.39% -0.1286 0.1235)
OKLCHoklch(63.39% 0.178 136.2)
XYZxyz(16.4219, 27.3616, 5.4527)
Luminance0.2736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52A11B #6A1BA1
analogous
#95A11B #52A11B #1BA127
triadic
#52A11B #1B52A1 #A11B52
tetradic
#52A11B #1B95A1 #6A1BA1 #A1271B
square
#52A11B #1B95A1 #6A1BA1 #A1271B
split-complementary
#52A11B #271BA1 #A11B95
monochromatic
#1D3809 #376D12 #52A11B #6DD524 #8EE254

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52A11B#FFFFFF#000000##000000
##52A11B1.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: #52a11b;
/* rgb */ color: rgb(82, 161, 27);
/* oklch */ color: oklch(63.4% 0.178 136.2);
Tailwind
colors: {
  custom: {
    50: '#8bbd65',
    500: '#52a11b',
    950: '#000000',
  },
}
SCSS
$custom: #52a11b;
$custom-light: #8bbd65;
$custom-dark: #000000;
JSON
{
  "hex": "#52a11b",
  "rgb": {
    "r": 82,
    "g": 161,
    "b": 27
  },
  "hsl": {
    "h": 95.373,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63391,
    "c": 0.17831,
    "h": 136.2
  },
  "luminance": 0.27363
}

Semantic roles & 50–950 ramp

primary
#52A11B
secondary
#9652C5
accent
#3AEEA4
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #52A11B

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

Preview Lab → · Contrast checker → · Palette generator →

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