#5AA128#5AA128

#5AA128 is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 63.8% C 0.168 H 135.4°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5AA128
RGBrgb(90, 161, 40)
HSLhsl(95, 60%, 39%)
HSVhsv(95, 75%, 63%)
CMYKcmyk(44.1%, 0%, 75.2%, 36.9%)
CIE-LABlab(59.72, -42.79, 52.54)
CIE-LCHlch(59.72, 67.76, 129.16°)
OKLaboklab(63.85% -0.1194 0.1178)
OKLCHoklch(63.85% 0.168 135.4)
XYZxyz(17.3439, 27.8156, 6.4621)
Luminance0.2782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA128 #6F28A1
analogous
#97A128 #5AA128 #28A133
triadic
#5AA128 #285AA1 #A1285A
tetradic
#5AA128 #2897A1 #6F28A1 #A13328
square
#5AA128 #2897A1 #6F28A1 #A13328
split-complementary
#5AA128 #3328A1 #A12897
monochromatic
#233F10 #3F701C #5AA128 #76CE39 #98DA6A

Accessibility & contrast

On white

3.20
#5AA128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#5AA128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA128
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA128#FFFFFF#000000##000000
##5AA1281.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7940F
Deuteranopia (green-blind)
#9D8E34
Tritanopia (blue-blind)
#589B8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5aa128;
/* rgb */ color: rgb(90, 161, 40);
/* oklch */ color: oklch(63.8% 0.168 135.4);
Tailwind
colors: {
  custom: {
    50: '#8fbd6b',
    500: '#5aa128',
    950: '#000000',
  },
}
SCSS
$custom: #5aa128;
$custom-light: #8fbd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa128",
  "rgb": {
    "r": 90,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 95.207,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63848,
    "c": 0.16773,
    "h": 135.4
  },
  "luminance": 0.27817
}

Semantic roles & 50–950 ramp

primary
#5AA128
secondary
#9A65C0
accent
#44E3A2
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA128

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

Preview Lab → · Contrast checker → · Palette generator →

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