#5AB231#5AB231

#5AB231 is a light, vivid green. Relative luminance 0.342; OKLCH L 68.3% C 0.183 H 137.7°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#5AB231
RGBrgb(90, 178, 49)
HSLhsl(101, 57%, 45%)
HSVhsv(101, 72%, 70%)
CMYKcmyk(49.4%, 0%, 72.5%, 30.2%)
CIE-LABlab(65.15, -49.00, 54.69)
CIE-LCHlch(65.15, 73.43, 131.86°)
OKLaboklab(68.32% -0.1356 0.1236)
OKLCHoklch(68.32% 0.183 137.7)
XYZxyz(20.6905, 34.2347, 8.4228)
Luminance0.3424 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB231 #8931B2
analogous
#9BB231 #5AB231 #31B248
triadic
#5AB231 #315AB2 #B2315A
tetradic
#5AB231 #319BB2 #8931B2 #B24831
square
#5AB231 #319BB2 #8931B2 #B24831
split-complementary
#5AB231 #4831B2 #B2319B
monochromatic
#295217 #428224 #5AB231 #79CF51 #9EDC81

Accessibility & contrast

On white

2.68
#5AB231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#5AB231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB231
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB231#FFFFFF#000000##000000
##5AB2311.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31A
Deuteranopia (green-blind)
#AC9B3E
Tritanopia (blue-blind)
#54AC99
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5ab231;
/* rgb */ color: rgb(90, 178, 49);
/* oklch */ color: oklch(68.3% 0.183 137.7);
Tailwind
colors: {
  custom: {
    50: '#91ca71',
    500: '#5ab231',
    950: '#000000',
  },
}
SCSS
$custom: #5ab231;
$custom-light: #91ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab231",
  "rgb": {
    "r": 90,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 100.93,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68323,
    "c": 0.18345,
    "h": 137.7
  },
  "luminance": 0.34236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5AB231

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

Preview Lab → · Contrast checker → · Palette generator →

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