#5AB331#5AB331

#5AB331 is a light, vivid green. Relative luminance 0.346; OKLCH L 68.6% C 0.185 H 137.7°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5AB331
RGBrgb(90, 179, 49)
HSLhsl(101, 57%, 45%)
HSVhsv(101, 73%, 70%)
CMYKcmyk(49.7%, 0%, 72.6%, 29.8%)
CIE-LABlab(65.46, -49.39, 55.01)
CIE-LCHlch(65.46, 73.93, 131.92°)
OKLaboklab(68.58% -0.1366 0.1242)
OKLCHoklch(68.58% 0.185 137.7)
XYZxyz(20.8902, 34.6341, 8.4894)
Luminance0.3464 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB331 #8A31B3
analogous
#9BB331 #5AB331 #31B349
triadic
#5AB331 #315AB3 #B3315A
tetradic
#5AB331 #319BB3 #8A31B3 #B34931
square
#5AB331 #319BB3 #8A31B3 #B34931
split-complementary
#5AB331 #4931B3 #B3319B
monochromatic
#2A5317 #428324 #5AB331 #79D052 #9EDD82

Accessibility & contrast

On white

2.65
#5AB331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#5AB331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB331
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB331#FFFFFF#000000##000000
##5AB3311.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41A
Deuteranopia (green-blind)
#AD9C3E
Tritanopia (blue-blind)
#54AD9A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5ab331;
/* rgb */ color: rgb(90, 179, 49);
/* oklch */ color: oklch(68.6% 0.185 137.7);
Tailwind
colors: {
  custom: {
    50: '#91ca71',
    500: '#5ab331',
    950: '#000000',
  },
}
SCSS
$custom: #5ab331;
$custom-light: #91ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab331",
  "rgb": {
    "r": 90,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 101.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68581,
    "c": 0.18467,
    "h": 137.7
  },
  "luminance": 0.34636
}

Semantic roles & 50–950 ramp

primary
#5AB331
secondary
#AE7AC6
accent
#48E0B0
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AB331

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

Preview Lab → · Contrast checker → · Palette generator →

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