#5AB831#5AB831

#5AB831 is a light, vivid green. Relative luminance 0.367; OKLCH L 69.9% C 0.191 H 138.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#5AB831
RGBrgb(90, 184, 49)
HSLhsl(102, 58%, 46%)
HSVhsv(102, 73%, 72%)
CMYKcmyk(51.1%, 0%, 73.4%, 27.8%)
CIE-LABlab(67.03, -51.32, 56.59)
CIE-LCHlch(67.03, 76.40, 132.20°)
OKLaboklab(69.87% -0.1418 0.1275)
OKLCHoklch(69.87% 0.191 138)
XYZxyz(21.9106, 36.6748, 8.8295)
Luminance0.3668 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB831 #8F31B8
analogous
#9DB831 #5AB831 #31B84B
triadic
#5AB831 #315AB8 #B8315A
tetradic
#5AB831 #319DB8 #8F31B8 #B84B31
square
#5AB831 #319DB8 #8F31B8 #B84B31
split-complementary
#5AB831 #4B31B8 #B8319D
monochromatic
#2B5717 #428824 #5AB831 #7BD255 #A0DE85

Accessibility & contrast

On white

2.52
#5AB831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#5AB831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB831
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB831#FFFFFF#000000##000000
##5AB8311.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA818
Deuteranopia (green-blind)
#B2A03F
Tritanopia (blue-blind)
#53B29E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #5ab831;
/* rgb */ color: rgb(90, 184, 49);
/* oklch */ color: oklch(69.9% 0.191 138.0);
Tailwind
colors: {
  custom: {
    50: '#91ce72',
    500: '#5ab831',
    950: '#000000',
  },
}
SCSS
$custom: #5ab831;
$custom-light: #91ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab831",
  "rgb": {
    "r": 90,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 101.778,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69873,
    "c": 0.19075,
    "h": 138
  },
  "luminance": 0.36676
}

Semantic roles & 50–950 ramp

primary
#5AB831
secondary
#B17DC8
accent
#47E1B2
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1408
muted
#7E827B

Preview Lab

Preview with #5AB831

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

Preview Lab → · Contrast checker → · Palette generator →

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