#5AB931#5AB931

#5AB931 is a light, vivid green. Relative luminance 0.371; OKLCH L 70.1% C 0.192 H 138.1°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#5AB931
RGBrgb(90, 185, 49)
HSLhsl(102, 58%, 46%)
HSVhsv(102, 74%, 73%)
CMYKcmyk(51.4%, 0%, 73.5%, 27.5%)
CIE-LABlab(67.35, -51.70, 56.91)
CIE-LCHlch(67.35, 76.88, 132.26°)
OKLaboklab(70.13% -0.1429 0.1282)
OKLCHoklch(70.13% 0.192 138.1)
XYZxyz(22.1190, 37.0917, 8.8990)
Luminance0.3709 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB931 #9031B9
analogous
#9EB931 #5AB931 #31B94C
triadic
#5AB931 #315AB9 #B9315A
tetradic
#5AB931 #319EB9 #9031B9 #B94C31
square
#5AB931 #319EB9 #9031B9 #B94C31
split-complementary
#5AB931 #4C31B9 #B9319E
monochromatic
#2B5817 #428924 #5AB931 #7BD255 #A0DF86

Accessibility & contrast

On white

2.49
#5AB931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#5AB931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB931
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB931#FFFFFF#000000##000000
##5AB9311.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA917
Deuteranopia (green-blind)
#B3A13F
Tritanopia (blue-blind)
#53B39F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #5ab931;
/* rgb */ color: rgb(90, 185, 49);
/* oklch */ color: oklch(70.1% 0.192 138.1);
Tailwind
colors: {
  custom: {
    50: '#92cf72',
    500: '#5ab931',
    950: '#000000',
  },
}
SCSS
$custom: #5ab931;
$custom-light: #92cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab931",
  "rgb": {
    "r": 90,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 101.912,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70131,
    "c": 0.19196,
    "h": 138.1
  },
  "luminance": 0.37093
}

Semantic roles & 50–950 ramp

primary
#5AB931
secondary
#B27DC8
accent
#46E1B3
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1408
muted
#7E827B

Preview Lab

Preview with #5AB931

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

Preview Lab → · Contrast checker → · Palette generator →

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