#5AA71F#5AA71F

#5AA71F is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.4% C 0.180 H 135.4°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#5AA71F
RGBrgb(90, 167, 31)
HSLhsl(94, 69%, 39%)
HSVhsv(94, 81%, 65%)
CMYKcmyk(46.1%, 0%, 81.4%, 34.5%)
CIE-LABlab(61.58, -45.75, 57.20)
CIE-LCHlch(61.58, 73.25, 128.66°)
OKLaboklab(65.35% -0.128 0.1262)
OKLCHoklch(65.35% 0.18 135.4)
XYZxyz(18.2821, 29.9089, 6.1057)
Luminance0.2991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA71F #6C1FA7
analogous
#9EA71F #5AA71F #1FA728
triadic
#5AA71F #1F5AA7 #A71F5A
tetradic
#5AA71F #1F9EA7 #6C1FA7 #A7281F
square
#5AA71F #1F9EA7 #6C1FA7 #A7281F
split-complementary
#5AA71F #281FA7 #A71F9E
monochromatic
#22400C #3E7315 #5AA71F #76D82B #98E15F

Accessibility & contrast

On white

3.01
#5AA71F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#5AA71F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA71F
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA71F#FFFFFF#000000##000000
##5AA71F1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#A3922F
Tritanopia (blue-blind)
#57A08E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5aa71f;
/* rgb */ color: rgb(90, 167, 31);
/* oklch */ color: oklch(65.4% 0.180 135.4);
Tailwind
colors: {
  custom: {
    50: '#90c267',
    500: '#5aa71f',
    950: '#000000',
  },
}
SCSS
$custom: #5aa71f;
$custom-light: #90c267;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa71f",
  "rgb": {
    "r": 90,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 93.971,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65354,
    "c": 0.17972,
    "h": 135.4
  },
  "luminance": 0.2991
}

Semantic roles & 50–950 ramp

primary
#5AA71F
secondary
#985CC6
accent
#3CEC9F
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA71F

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

Preview Lab → · Contrast checker → · Palette generator →

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