#5AAB28#5AAB28

#5AAB28 is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 66.4% C 0.180 H 136.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5AAB28
RGBrgb(90, 171, 40)
HSLhsl(97, 62%, 41%)
HSVhsv(97, 77%, 67%)
CMYKcmyk(47.4%, 0%, 76.6%, 32.9%)
CIE-LABlab(62.89, -46.85, 55.63)
CIE-LCHlch(62.89, 72.73, 130.10°)
OKLaboklab(66.45% -0.1304 0.1242)
OKLCHoklch(66.45% 0.18 136.4)
XYZxyz(19.1618, 31.4514, 7.0681)
Luminance0.3145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAB28 #7928AB
analogous
#9CAB28 #5AAB28 #28AB38
triadic
#5AAB28 #285AAB #AB285A
tetradic
#5AAB28 #289CAB #7928AB #AB3828
square
#5AAB28 #289CAB #7928AB #AB3828
split-complementary
#5AAB28 #3828AB #AB289C
monochromatic
#264811 #40791C #5AAB28 #77D23E #9ADE70

Accessibility & contrast

On white

2.88
#5AAB28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#5AAB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAB28
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAB28#FFFFFF#000000##000000
##5AAB281.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C08
Deuteranopia (green-blind)
#A69636
Tritanopia (blue-blind)
#56A592
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5aab28;
/* rgb */ color: rgb(90, 171, 40);
/* oklch */ color: oklch(66.4% 0.180 136.4);
Tailwind
colors: {
  custom: {
    50: '#90c56c',
    500: '#5aab28',
    950: '#000000',
  },
}
SCSS
$custom: #5aab28;
$custom-light: #90c56c;
$custom-dark: #000000;
JSON
{
  "hex": "#5aab28",
  "rgb": {
    "r": 90,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 97.099,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66446,
    "c": 0.18009,
    "h": 136.4
  },
  "luminance": 0.31453
}

Semantic roles & 50–950 ramp

primary
#5AAB28
secondary
#A26AC4
accent
#43E5A7
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5AAB28

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

Preview Lab → · Contrast checker → · Palette generator →

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