#5AA71C#5AA71C

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

Color values

HEX#5AA71C
RGBrgb(90, 167, 28)
HSLhsl(93, 71%, 38%)
HSVhsv(93, 83%, 65%)
CMYKcmyk(46.1%, 0%, 83.2%, 34.5%)
CIE-LABlab(61.56, -45.90, 58.02)
CIE-LCHlch(61.56, 73.97, 128.35°)
OKLaboklab(65.34% -0.1285 0.1275)
OKLCHoklch(65.34% 0.181 135.2)
XYZxyz(18.2443, 29.8938, 5.9071)
Luminance0.2989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA71C #691CA7
analogous
#9FA71C #5AA71C #1CA723
triadic
#5AA71C #1C5AA7 #A71C5A
tetradic
#5AA71C #1C9FA7 #691CA7 #A7231C
square
#5AA71C #1C9FA7 #691CA7 #A7231C
split-complementary
#5AA71C #231CA7 #A71C9F
monochromatic
#223E0A #3E7313 #5AA71C #76DB26 #97E35A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AA71C#FFFFFF#000000##000000
##5AA71C1.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)
#A3922D
Tritanopia (blue-blind)
#58A08E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5aa71c;
/* rgb */ color: rgb(90, 167, 28);
/* oklch */ color: oklch(65.3% 0.181 135.2);
Tailwind
colors: {
  custom: {
    50: '#90c266',
    500: '#5aa71c',
    950: '#000000',
  },
}
SCSS
$custom: #5aa71c;
$custom-light: #90c266;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa71c",
  "rgb": {
    "r": 90,
    "g": 167,
    "b": 28
  },
  "hsl": {
    "h": 93.237,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65339,
    "c": 0.18101,
    "h": 135.2
  },
  "luminance": 0.29895
}

Semantic roles & 50–950 ramp

primary
#5AA71C
secondary
#9558C7
accent
#3AEE9E
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5AA71C

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

Preview Lab → · Contrast checker → · Palette generator →

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