#52A71B#52A71B

#52A71B is a light, vivid yellow-green. Relative luminance 0.295; OKLCH L 65.0% C 0.185 H 136.7°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#52A71B
RGBrgb(82, 167, 27)
HSLhsl(96, 72%, 38%)
HSVhsv(96, 84%, 65%)
CMYKcmyk(50.9%, 0%, 83.8%, 34.5%)
CIE-LABlab(61.23, -48.46, 57.85)
CIE-LCHlch(61.23, 75.47, 129.95°)
OKLaboklab(64.97% -0.1349 0.1271)
OKLCHoklch(64.97% 0.185 136.7)
XYZxyz(17.4957, 29.5091, 5.8106)
Luminance0.2951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52A71B #701BA7
analogous
#98A71B #52A71B #1BA72A
triadic
#52A71B #1B52A7 #A71B52
tetradic
#52A71B #1B98A7 #701BA7 #A72A1B
square
#52A71B #1B98A7 #701BA7 #A72A1B
split-complementary
#52A71B #2A1BA7 #A71B98
monochromatic
#1E3E0A #387212 #52A71B #6CDC24 #8FE458

Accessibility & contrast

On white

3.04
#52A71B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#52A71B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52A71B
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52A71B#FFFFFF#000000##000000
##52A71B1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A2912D
Tritanopia (blue-blind)
#4DA18E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #52a71b;
/* rgb */ color: rgb(82, 167, 27);
/* oklch */ color: oklch(65.0% 0.185 136.7);
Tailwind
colors: {
  custom: {
    50: '#8bc266',
    500: '#52a71b',
    950: '#000000',
  },
}
SCSS
$custom: #52a71b;
$custom-light: #8bc266;
$custom-dark: #000000;
JSON
{
  "hex": "#52a71b",
  "rgb": {
    "r": 82,
    "g": 167,
    "b": 27
  },
  "hsl": {
    "h": 96.429,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64972,
    "c": 0.18537,
    "h": 136.7
  },
  "luminance": 0.2951
}

Semantic roles & 50–950 ramp

primary
#52A71B
secondary
#9B56C8
accent
#39EFA7
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #52A71B

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

Preview Lab → · Contrast checker → · Palette generator →

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