#52A51B#52A51B

#52A51B is a light, vivid yellow-green. Relative luminance 0.288; OKLCH L 64.4% C 0.183 H 136.5°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#52A51B
RGBrgb(82, 165, 27)
HSLhsl(96, 72%, 38%)
HSVhsv(96, 84%, 65%)
CMYKcmyk(50.3%, 0%, 83.6%, 35.3%)
CIE-LABlab(60.59, -47.68, 57.28)
CIE-LCHlch(60.59, 74.53, 129.78°)
OKLaboklab(64.44% -0.1328 0.1259)
OKLCHoklch(64.44% 0.183 136.5)
XYZxyz(17.1321, 28.7820, 5.6894)
Luminance0.2878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52A51B #6E1BA5
analogous
#97A51B #52A51B #1BA529
triadic
#52A51B #1B52A5 #A51B52
tetradic
#52A51B #1B97A5 #6E1BA5 #A5291B
square
#52A51B #1B97A5 #6E1BA5 #A5291B
split-complementary
#52A51B #291BA5 #A51B97
monochromatic
#1E3C0A #387012 #52A51B #6CDA24 #8FE357

Accessibility & contrast

On white

3.11
#52A51B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#52A51B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52A51B
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52A51B#FFFFFF#000000##000000
##52A51B1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#A0902D
Tritanopia (blue-blind)
#4D9F8C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #52a51b;
/* rgb */ color: rgb(82, 165, 27);
/* oklch */ color: oklch(64.4% 0.183 136.5);
Tailwind
colors: {
  custom: {
    50: '#8bc065',
    500: '#52a51b',
    950: '#000000',
  },
}
SCSS
$custom: #52a51b;
$custom-light: #8bc065;
$custom-dark: #000000;
JSON
{
  "hex": "#52a51b",
  "rgb": {
    "r": 82,
    "g": 165,
    "b": 27
  },
  "hsl": {
    "h": 96.087,
    "s": 71.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64445,
    "c": 0.18303,
    "h": 136.5
  },
  "luminance": 0.28783
}

Semantic roles & 50–950 ramp

primary
#52A51B
secondary
#9955C7
accent
#39EFA6
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #52A51B

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

Preview Lab → · Contrast checker → · Palette generator →

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