#5AB431#5AB431

#5AB431 is a light, vivid green. Relative luminance 0.350; OKLCH L 68.8% C 0.186 H 137.8°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5AB431
RGBrgb(90, 180, 49)
HSLhsl(101, 57%, 45%)
HSVhsv(101, 73%, 71%)
CMYKcmyk(50%, 0%, 72.8%, 29.4%)
CIE-LABlab(65.78, -49.78, 55.33)
CIE-LCHlch(65.78, 74.43, 131.98°)
OKLaboklab(68.84% -0.1377 0.1249)
OKLCHoklch(68.84% 0.186 137.8)
XYZxyz(21.0914, 35.0364, 8.5564)
Luminance0.3504 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB431 #8B31B4
analogous
#9CB431 #5AB431 #31B449
triadic
#5AB431 #315AB4 #B4315A
tetradic
#5AB431 #319CB4 #8B31B4 #B44931
square
#5AB431 #319CB4 #8B31B4 #B44931
split-complementary
#5AB431 #4931B4 #B4319C
monochromatic
#2A5417 #428424 #5AB431 #7AD052 #9FDD82

Accessibility & contrast

On white

2.62
#5AB431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#5AB431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB431
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB431#FFFFFF#000000##000000
##5AB4311.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA419
Deuteranopia (green-blind)
#AE9D3E
Tritanopia (blue-blind)
#54AE9A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5ab431;
/* rgb */ color: rgb(90, 180, 49);
/* oklch */ color: oklch(68.8% 0.186 137.8);
Tailwind
colors: {
  custom: {
    50: '#91cb71',
    500: '#5ab431',
    950: '#000000',
  },
}
SCSS
$custom: #5ab431;
$custom-light: #91cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab431",
  "rgb": {
    "r": 90,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 101.221,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.6884,
    "c": 0.1859,
    "h": 137.8
  },
  "luminance": 0.35038
}

Semantic roles & 50–950 ramp

primary
#5AB431
secondary
#AF7BC6
accent
#47E0B1
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5AB431

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

Preview Lab → · Contrast checker → · Palette generator →

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