#5AB128#5AB128

#5AB128 is a light, vivid yellow-green. Relative luminance 0.338; OKLCH L 68.0% C 0.187 H 136.9°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#5AB128
RGBrgb(90, 177, 40)
HSLhsl(98, 63%, 43%)
HSVhsv(98, 77%, 69%)
CMYKcmyk(49.2%, 0%, 77.4%, 30.6%)
CIE-LABlab(64.78, -49.21, 57.46)
CIE-LCHlch(64.78, 75.65, 130.58°)
OKLaboklab(68% -0.1367 0.1281)
OKLCHoklch(68% 0.187 136.9)
XYZxyz(20.3210, 33.7697, 7.4545)
Luminance0.3377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB128 #7F28B1
analogous
#9FB128 #5AB128 #28B13A
triadic
#5AB128 #285AB1 #B1285A
tetradic
#5AB128 #289FB1 #7F28B1 #B13A28
square
#5AB128 #289FB1 #7F28B1 #B13A28
split-complementary
#5AB128 #3A28B1 #B1289F
monochromatic
#274D11 #417F1D #5AB128 #77D442 #9BE074

Accessibility & contrast

On white

2.71
#5AB128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#5AB128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB128
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB128#FFFFFF#000000##000000
##5AB1281.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A203
Deuteranopia (green-blind)
#AC9A37
Tritanopia (blue-blind)
#55AA97
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5ab128;
/* rgb */ color: rgb(90, 177, 40);
/* oklch */ color: oklch(68.0% 0.187 136.9);
Tailwind
colors: {
  custom: {
    50: '#91c96d',
    500: '#5ab128',
    950: '#000000',
  },
}
SCSS
$custom: #5ab128;
$custom-light: #91c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab128",
  "rgb": {
    "r": 90,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 98.102,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68002,
    "c": 0.18734,
    "h": 136.9
  },
  "luminance": 0.33771
}

Semantic roles & 50–950 ramp

primary
#5AB128
secondary
#A66EC7
accent
#42E6AA
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5AB128

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

Preview Lab → · Contrast checker → · Palette generator →

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