#52A51F#52A51F

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

Color values

HEX#52A51F
RGBrgb(82, 165, 31)
HSLhsl(97, 68%, 38%)
HSVhsv(97, 81%, 65%)
CMYKcmyk(50.3%, 0%, 81.2%, 35.3%)
CIE-LABlab(60.61, -47.49, 56.18)
CIE-LCHlch(60.61, 73.56, 130.20°)
OKLaboklab(64.46% -0.1321 0.1242)
OKLCHoklch(64.46% 0.181 136.8)
XYZxyz(17.1816, 28.8018, 5.9500)
Luminance0.2880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52A51F #721FA5
analogous
#95A51F #52A51F #1FA52F
triadic
#52A51F #1F52A5 #A51F52
tetradic
#52A51F #1F95A5 #721FA5 #A52F1F
square
#52A51F #1F95A5 #721FA5 #A52F1F
split-complementary
#52A51F #2F1FA5 #A51F95
monochromatic
#1F3E0C #387115 #52A51F #6CD72A #90E15E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52A51F#FFFFFF#000000##000000
##52A51F1.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)
#A0902F
Tritanopia (blue-blind)
#4D9F8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #52a51f;
/* rgb */ color: rgb(82, 165, 31);
/* oklch */ color: oklch(64.5% 0.181 136.8);
Tailwind
colors: {
  custom: {
    50: '#8bc067',
    500: '#52a51f',
    950: '#000000',
  },
}
SCSS
$custom: #52a51f;
$custom-light: #8bc067;
$custom-dark: #000000;
JSON
{
  "hex": "#52a51f",
  "rgb": {
    "r": 82,
    "g": 165,
    "b": 31
  },
  "hsl": {
    "h": 97.164,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64465,
    "c": 0.18131,
    "h": 136.8
  },
  "luminance": 0.28803
}

Semantic roles & 50–950 ramp

primary
#52A51F
secondary
#9D5BC5
accent
#3DEBA9
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #52A51F

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

Preview Lab → · Contrast checker → · Palette generator →

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