#52B31C#52B31C

#52B31C is a light, vivid yellow-green. Relative luminance 0.341; OKLCH L 68.1% C 0.199 H 137.6°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#52B31C
RGBrgb(82, 179, 28)
HSLhsl(99, 73%, 41%)
HSVhsv(99, 84%, 70%)
CMYKcmyk(54.2%, 0%, 84.4%, 29.8%)
CIE-LABlab(65.05, -52.93, 61.03)
CIE-LCHlch(65.05, 80.78, 130.94°)
OKLaboklab(68.13% -0.1468 0.134)
OKLCHoklch(68.13% 0.199 137.6)
XYZxyz(19.8087, 34.1163, 6.6397)
Luminance0.3412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52B31C #7D1CB3
analogous
#9DB31C #52B31C #1CB331
triadic
#52B31C #1C52B3 #B31C52
tetradic
#52B31C #1C9DB3 #7D1CB3 #B3311C
square
#52B31C #1C9DB3 #7D1CB3 #B3311C
split-complementary
#52B31C #311CB3 #B31C9D
monochromatic
#22490B #3A7E14 #52B31C #6DDE2E #92E763

Accessibility & contrast

On white

2.68
#52B31C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##52B31C#FFFFFF#000000##000000
##52B31C1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52b31c;
/* rgb */ color: rgb(82, 179, 28);
/* oklch */ color: oklch(68.1% 0.199 137.6);
Tailwind
colors: {
  custom: {
    50: '#8dca68',
    500: '#52b31c',
    950: '#000000',
  },
}
SCSS
$custom: #52b31c;
$custom-light: #8dca68;
$custom-dark: #000000;
JSON
{
  "hex": "#52b31c",
  "rgb": {
    "r": 82,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 98.543,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68128,
    "c": 0.19876,
    "h": 137.6
  },
  "luminance": 0.34118
}

Semantic roles & 50–950 ramp

primary
#52B31C
secondary
#A55FCB
accent
#38F0AE
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #52B31C

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

Preview Lab → · Contrast checker → · Palette generator →

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