#5AAB2A#5AAB2A

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

Color values

HEX#5AAB2A
RGBrgb(90, 171, 42)
HSLhsl(98, 61%, 42%)
HSVhsv(98, 75%, 67%)
CMYKcmyk(47.4%, 0%, 75.4%, 32.9%)
CIE-LABlab(62.90, -46.72, 54.96)
CIE-LCHlch(62.90, 72.14, 130.37°)
OKLaboklab(66.46% -0.1299 0.1231)
OKLCHoklch(66.46% 0.179 136.5)
XYZxyz(19.1967, 31.4654, 7.2519)
Luminance0.3147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAB2A #7B2AAB
analogous
#9BAB2A #5AAB2A #2AAB3A
triadic
#5AAB2A #2A5AAB #AB2A5A
tetradic
#5AAB2A #2A9BAB #7B2AAB #AB3A2A
square
#5AAB2A #2A9BAB #7B2AAB #AB3A2A
split-complementary
#5AAB2A #3A2AAB #AB2A9B
monochromatic
#264912 #407A1E #5AAB2A #77D142 #9ADD73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AAB2A#FFFFFF#000000##000000
##5AAB2A1.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)
#B19C0E
Deuteranopia (green-blind)
#A69637
Tritanopia (blue-blind)
#56A592
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5aab2a;
/* rgb */ color: rgb(90, 171, 42);
/* oklch */ color: oklch(66.5% 0.179 136.5);
Tailwind
colors: {
  custom: {
    50: '#90c56d',
    500: '#5aab2a',
    950: '#000000',
  },
}
SCSS
$custom: #5aab2a;
$custom-light: #90c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#5aab2a",
  "rgb": {
    "r": 90,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 97.674,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66459,
    "c": 0.17898,
    "h": 136.5
  },
  "luminance": 0.31467
}

Semantic roles & 50–950 ramp

primary
#5AAB2A
secondary
#A46DC4
accent
#44E4A8
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5AAB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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