#52B317#52B317

#52B317 is a light, highly saturated yellow-green. Relative luminance 0.341; OKLCH L 68.1% C 0.200 H 137.4°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#52B317
RGBrgb(82, 179, 23)
HSLhsl(97, 77%, 40%)
HSVhsv(97, 87%, 70%)
CMYKcmyk(54.2%, 0%, 87.2%, 29.8%)
CIE-LABlab(65.04, -53.13, 62.16)
CIE-LCHlch(65.04, 81.77, 130.52°)
OKLaboklab(68.11% -0.1476 0.1357)
OKLCHoklch(68.11% 0.2 137.4)
XYZxyz(19.7538, 34.0943, 6.3504)
Luminance0.3410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52B317 #7817B3
analogous
#A0B317 #52B317 #17B32A
triadic
#52B317 #1752B3 #B31752
tetradic
#52B317 #17A0B3 #7817B3 #B32A17
square
#52B317 #17A0B3 #7817B3 #B32A17
split-complementary
#52B317 #2A17B3 #B317A0
monochromatic
#204709 #397D10 #52B317 #6CE324 #91EA5B

Accessibility & contrast

On white

2.69
#52B317 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#52B317 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #52B317
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52B317#FFFFFF#000000##000000
##52B3171.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AD9B2D
Tritanopia (blue-blind)
#4BAC98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #52b317;
/* rgb */ color: rgb(82, 179, 23);
/* oklch */ color: oklch(68.1% 0.200 137.4);
Tailwind
colors: {
  custom: {
    50: '#8dca66',
    500: '#52b317',
    950: '#000000',
  },
}
SCSS
$custom: #52b317;
$custom-light: #8dca66;
$custom-dark: #000000;
JSON
{
  "hex": "#52b317",
  "rgb": {
    "r": 82,
    "g": 179,
    "b": 23
  },
  "hsl": {
    "h": 97.308,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68108,
    "c": 0.20047,
    "h": 137.4
  },
  "luminance": 0.34096
}

Semantic roles & 50–950 ramp

primary
#52B317
secondary
#A158CD
accent
#34F4AB
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #52B317

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

Preview Lab → · Contrast checker → · Palette generator →

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