#5AB127#5AB127

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

Color values

HEX#5AB127
RGBrgb(90, 177, 39)
HSLhsl(98, 64%, 42%)
HSVhsv(98, 78%, 69%)
CMYKcmyk(49.2%, 0%, 78%, 30.6%)
CIE-LABlab(64.77, -49.27, 57.77)
CIE-LCHlch(64.77, 75.93, 130.46°)
OKLaboklab(68% -0.1369 0.1286)
OKLCHoklch(68% 0.188 136.8)
XYZxyz(20.3042, 33.7630, 7.3661)
Luminance0.3376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB127 #7E27B1
analogous
#9FB127 #5AB127 #27B139
triadic
#5AB127 #275AB1 #B1275A
tetradic
#5AB127 #279FB1 #7E27B1 #B13927
square
#5AB127 #279FB1 #7E27B1 #B13927
split-complementary
#5AB127 #3927B1 #B1279F
monochromatic
#274D11 #417F1C #5AB127 #77D540 #9BE072

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AB127#FFFFFF#000000##000000
##5AB1271.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)
#B7A200
Deuteranopia (green-blind)
#AC9A36
Tritanopia (blue-blind)
#55AA97
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5ab127;
/* rgb */ color: rgb(90, 177, 39);
/* oklch */ color: oklch(68.0% 0.188 136.8);
Tailwind
colors: {
  custom: {
    50: '#91c96c',
    500: '#5ab127',
    950: '#000000',
  },
}
SCSS
$custom: #5ab127;
$custom-light: #91c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab127",
  "rgb": {
    "r": 90,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 97.826,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67996,
    "c": 0.18784,
    "h": 136.8
  },
  "luminance": 0.33764
}

Semantic roles & 50–950 ramp

primary
#5AB127
secondary
#A66DC7
accent
#41E7AA
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AB127

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

Preview Lab → · Contrast checker → · Palette generator →

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