#5AAB2B#5AAB2B

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

Color values

HEX#5AAB2B
RGBrgb(90, 171, 43)
HSLhsl(98, 60%, 42%)
HSVhsv(98, 75%, 67%)
CMYKcmyk(47.4%, 0%, 74.9%, 32.9%)
CIE-LABlab(62.90, -46.65, 54.62)
CIE-LCHlch(62.90, 71.83, 130.50°)
OKLaboklab(66.47% -0.1297 0.1226)
OKLCHoklch(66.47% 0.178 136.6)
XYZxyz(19.2149, 31.4726, 7.3474)
Luminance0.3147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAB2B #7C2BAB
analogous
#9AAB2B #5AAB2B #2BAB3C
triadic
#5AAB2B #2B5AAB #AB2B5A
tetradic
#5AAB2B #2B9AAB #7C2BAB #AB3C2B
square
#5AAB2B #2B9AAB #7C2BAB #AB3C2B
split-complementary
#5AAB2B #3C2BAB #AB2B9A
monochromatic
#274912 #407A1F #5AAB2B #77D043 #9ADC74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AAB2B#FFFFFF#000000##000000
##5AAB2B1.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)
#B19C11
Deuteranopia (green-blind)
#A69638
Tritanopia (blue-blind)
#56A592
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5aab2b;
/* rgb */ color: rgb(90, 171, 43);
/* oklch */ color: oklch(66.5% 0.178 136.6);
Tailwind
colors: {
  custom: {
    50: '#90c56d',
    500: '#5aab2b',
    950: '#000000',
  },
}
SCSS
$custom: #5aab2b;
$custom-light: #90c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#5aab2b",
  "rgb": {
    "r": 90,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 97.969,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66466,
    "c": 0.17842,
    "h": 136.6
  },
  "luminance": 0.31474
}

Semantic roles & 50–950 ramp

primary
#5AAB2B
secondary
#A46EC4
accent
#45E3A9
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AAB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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