#5AAB1F#5AAB1F

#5AAB1F is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.4% C 0.184 H 135.8°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5AAB1F
RGBrgb(90, 171, 31)
HSLhsl(95, 69%, 40%)
HSVhsv(95, 82%, 67%)
CMYKcmyk(47.4%, 0%, 81.9%, 32.9%)
CIE-LABlab(62.84, -47.35, 58.36)
CIE-LCHlch(62.84, 75.15, 129.05°)
OKLaboklab(66.39% -0.1322 0.1286)
OKLCHoklch(66.39% 0.184 135.8)
XYZxyz(19.0262, 31.3972, 6.3538)
Luminance0.3140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAB1F #701FAB
analogous
#A0AB1F #5AAB1F #1FAB2A
triadic
#5AAB1F #1F5AAB #AB1F5A
tetradic
#5AAB1F #1FA0AB #701FAB #AB2A1F
square
#5AAB1F #1FA0AB #701FAB #AB2A1F
split-complementary
#5AAB1F #2A1FAB #AB1FA0
monochromatic
#23430C #3F7716 #5AAB1F #76D92E #98E362

Accessibility & contrast

On white

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

On black

7.28
#5AAB1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAB1F
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAB1F#FFFFFF#000000##000000
##5AAB1F1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#A79630
Tritanopia (blue-blind)
#57A492
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5aab1f;
/* rgb */ color: rgb(90, 171, 31);
/* oklch */ color: oklch(66.4% 0.184 135.8);
Tailwind
colors: {
  custom: {
    50: '#90c568',
    500: '#5aab1f',
    950: '#000000',
  },
}
SCSS
$custom: #5aab1f;
$custom-light: #90c568;
$custom-dark: #000000;
JSON
{
  "hex": "#5aab1f",
  "rgb": {
    "r": 90,
    "g": 171,
    "b": 31
  },
  "hsl": {
    "h": 94.714,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66394,
    "c": 0.18448,
    "h": 135.8
  },
  "luminance": 0.31398
}

Semantic roles & 50–950 ramp

primary
#5AAB1F
secondary
#9B5EC7
accent
#3CECA2
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5AAB1F

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

Preview Lab → · Contrast checker → · Palette generator →

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