#52B31A#52B31A

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

Color values

HEX#52B31A
RGBrgb(82, 179, 26)
HSLhsl(98, 75%, 40%)
HSVhsv(98, 85%, 70%)
CMYKcmyk(54.2%, 0%, 85.5%, 29.8%)
CIE-LABlab(65.05, -53.01, 61.50)
CIE-LCHlch(65.05, 81.20, 130.76°)
OKLaboklab(68.12% -0.1471 0.1347)
OKLCHoklch(68.12% 0.199 137.5)
XYZxyz(19.7856, 34.1071, 6.5178)
Luminance0.3411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52B31A #7B1AB3
analogous
#9FB31A #52B31A #1AB32E
triadic
#52B31A #1A52B3 #B31A52
tetradic
#52B31A #1A9FB3 #7B1AB3 #B32E1A
square
#52B31A #1A9FB3 #7B1AB3 #B32E1A
split-complementary
#52B31A #2E1AB3 #B31A9F
monochromatic
#21480A #3A7E12 #52B31A #6DE02A #91E860

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52B31A#FFFFFF#000000##000000
##52B31A1.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)
#4BAC98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #52b31a;
/* rgb */ color: rgb(82, 179, 26);
/* oklch */ color: oklch(68.1% 0.199 137.5);
Tailwind
colors: {
  custom: {
    50: '#8dca67',
    500: '#52b31a',
    950: '#000000',
  },
}
SCSS
$custom: #52b31a;
$custom-light: #8dca67;
$custom-dark: #000000;
JSON
{
  "hex": "#52b31a",
  "rgb": {
    "r": 82,
    "g": 179,
    "b": 26
  },
  "hsl": {
    "h": 98.039,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68119,
    "c": 0.19948,
    "h": 137.5
  },
  "luminance": 0.34109
}

Semantic roles & 50–950 ramp

primary
#52B31A
secondary
#A35DCC
accent
#37F1AD
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #52B31A

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

Preview Lab → · Contrast checker → · Palette generator →

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