#5AA01C#5AA01C

#5AA01C is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 63.5% C 0.173 H 134.5°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5AA01C
RGBrgb(90, 160, 28)
HSLhsl(92, 70%, 37%)
HSVhsv(92, 83%, 63%)
CMYKcmyk(43.7%, 0%, 82.5%, 37.3%)
CIE-LABlab(59.34, -43.05, 56.01)
CIE-LCHlch(59.34, 70.64, 127.55°)
OKLaboklab(63.52% -0.1209 0.1232)
OKLCHoklch(63.52% 0.173 134.5)
XYZxyz(16.9965, 27.3981, 5.4912)
Luminance0.2740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA01C #621CA0
analogous
#9CA01C #5AA01C #1CA020
triadic
#5AA01C #1C5AA0 #A01C5A
tetradic
#5AA01C #1C9CA0 #621CA0 #A0201C
square
#5AA01C #1C9CA0 #621CA0 #A0201C
split-complementary
#5AA01C #201CA0 #A01C9C
monochromatic
#1F380A #3D6C13 #5AA01C #77D425 #97E155

Accessibility & contrast

On white

3.24
#5AA01C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#5AA01C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA01C
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA01C#FFFFFF#000000##000000
##5AA01C1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#599A88
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5aa01c;
/* rgb */ color: rgb(90, 160, 28);
/* oklch */ color: oklch(63.5% 0.173 134.5);
Tailwind
colors: {
  custom: {
    50: '#8fbc65',
    500: '#5aa01c',
    950: '#000000',
  },
}
SCSS
$custom: #5aa01c;
$custom-light: #8fbc65;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa01c",
  "rgb": {
    "r": 90,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 91.818,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63515,
    "c": 0.17263,
    "h": 134.5
  },
  "luminance": 0.27399
}

Semantic roles & 50–950 ramp

primary
#5AA01C
secondary
#8F53C4
accent
#3BED99
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5AA01C

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

Preview Lab → · Contrast checker → · Palette generator →

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