#52B31B#52B31B

#52B31B 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#52B31B
RGBrgb(82, 179, 27)
HSLhsl(98, 74%, 40%)
HSVhsv(98, 85%, 70%)
CMYKcmyk(54.2%, 0%, 84.9%, 29.8%)
CIE-LABlab(65.05, -52.97, 61.27)
CIE-LCHlch(65.05, 80.99, 130.85°)
OKLaboklab(68.12% -0.147 0.1343)
OKLCHoklch(68.12% 0.199 137.6)
XYZxyz(19.7969, 34.1116, 6.5777)
Luminance0.3411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52B31B #7C1BB3
analogous
#9EB31B #52B31B #1BB330
triadic
#52B31B #1B52B3 #B31B52
tetradic
#52B31B #1B9EB3 #7C1BB3 #B3301B
square
#52B31B #1B9EB3 #7C1BB3 #B3301B
split-complementary
#52B31B #301BB3 #B31B9E
monochromatic
#21490B #3A7E13 #52B31B #6DDF2C #92E761

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52B31B#FFFFFF#000000##000000
##52B31B1.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)
#AD9B2F
Tritanopia (blue-blind)
#4AAC98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #52b31b;
/* rgb */ color: rgb(82, 179, 27);
/* oklch */ color: oklch(68.1% 0.199 137.6);
Tailwind
colors: {
  custom: {
    50: '#8dca68',
    500: '#52b31b',
    950: '#000000',
  },
}
SCSS
$custom: #52b31b;
$custom-light: #8dca68;
$custom-dark: #000000;
JSON
{
  "hex": "#52b31b",
  "rgb": {
    "r": 82,
    "g": 179,
    "b": 27
  },
  "hsl": {
    "h": 98.289,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68123,
    "c": 0.19913,
    "h": 137.6
  },
  "luminance": 0.34113
}

Semantic roles & 50–950 ramp

primary
#52B31B
secondary
#A45ECC
accent
#37F0AD
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #52B31B

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

Preview Lab → · Contrast checker → · Palette generator →

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