#5AAB2F#5AAB2F

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

Color values

HEX#5AAB2F
RGBrgb(90, 171, 47)
HSLhsl(99, 57%, 43%)
HSVhsv(99, 73%, 67%)
CMYKcmyk(47.4%, 0%, 72.5%, 32.9%)
CIE-LABlab(62.93, -46.37, 53.19)
CIE-LCHlch(62.93, 70.57, 131.08°)
OKLaboklab(66.5% -0.1286 0.1202)
OKLCHoklch(66.5% 0.176 137)
XYZxyz(19.2919, 31.5034, 7.7530)
Luminance0.3150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAB2F #802FAB
analogous
#98AB2F #5AAB2F #2FAB42
triadic
#5AAB2F #2F5AAB #AB2F5A
tetradic
#5AAB2F #2F98AB #802FAB #AB422F
square
#5AAB2F #2F98AB #802FAB #AB422F
split-complementary
#5AAB2F #422FAB #AB2F98
monochromatic
#274B15 #417B22 #5AAB2F #77CD4A #9BDA7A

Accessibility & contrast

On white

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

On black

7.30
#5AAB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAB2F
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAB2F#FFFFFF#000000##000000
##5AAB2F1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C19
Deuteranopia (green-blind)
#A6963B
Tritanopia (blue-blind)
#56A593
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5aab2f;
/* rgb */ color: rgb(90, 171, 47);
/* oklch */ color: oklch(66.5% 0.176 137.0);
Tailwind
colors: {
  custom: {
    50: '#90c56f',
    500: '#5aab2f',
    950: '#000000',
  },
}
SCSS
$custom: #5aab2f;
$custom-light: #90c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#5aab2f",
  "rgb": {
    "r": 90,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 99.194,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66496,
    "c": 0.17602,
    "h": 137
  },
  "luminance": 0.31505
}

Semantic roles & 50–950 ramp

primary
#5AAB2F
secondary
#A773C3
accent
#48E0AB
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AAB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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