#5AB31A#5AB31A

#5AB31A is a light, vivid yellow-green. Relative luminance 0.345; OKLCH L 68.5% C 0.196 H 136.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5AB31A
RGBrgb(90, 179, 26)
HSLhsl(95, 75%, 40%)
HSVhsv(95, 85%, 70%)
CMYKcmyk(49.7%, 0%, 85.5%, 29.8%)
CIE-LABlab(65.35, -50.67, 61.88)
CIE-LCHlch(65.35, 79.98, 129.31°)
OKLaboklab(68.45% -0.1414 0.1353)
OKLCHoklch(68.45% 0.196 136.3)
XYZxyz(20.5224, 34.4870, 6.5523)
Luminance0.3449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB31A #731AB3
analogous
#A6B31A #5AB31A #1AB327
triadic
#5AB31A #1A5AB3 #B31A5A
tetradic
#5AB31A #1AA6B3 #731AB3 #B3271A
square
#5AB31A #1AA6B3 #731AB3 #B3271A
split-complementary
#5AB31A #271AB3 #B31AA6
monochromatic
#24480A #3F7E12 #5AB31A #76E02A #99E860

Accessibility & contrast

On white

2.66
#5AB31A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#5AB31A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB31A
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB31A#FFFFFF#000000##000000
##5AB31A1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AE9C2F
Tritanopia (blue-blind)
#55AC98
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5ab31a;
/* rgb */ color: rgb(90, 179, 26);
/* oklch */ color: oklch(68.5% 0.196 136.3);
Tailwind
colors: {
  custom: {
    50: '#92ca67',
    500: '#5ab31a',
    950: '#000000',
  },
}
SCSS
$custom: #5ab31a;
$custom-light: #92ca67;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab31a",
  "rgb": {
    "r": 90,
    "g": 179,
    "b": 26
  },
  "hsl": {
    "h": 94.902,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6845,
    "c": 0.19573,
    "h": 136.3
  },
  "luminance": 0.34488
}

Semantic roles & 50–950 ramp

primary
#5AB31A
secondary
#9D5DCC
accent
#37F1A3
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AB31A

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

Preview Lab → · Contrast checker → · Palette generator →

#5AB31A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva