#5AA01F#5AA01F

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

Color values

HEX#5AA01F
RGBrgb(90, 160, 31)
HSLhsl(93, 68%, 37%)
HSVhsv(93, 81%, 63%)
CMYKcmyk(43.7%, 0%, 80.6%, 37.3%)
CIE-LABlab(59.35, -42.90, 55.15)
CIE-LCHlch(59.35, 69.87, 127.88°)
OKLaboklab(63.53% -0.1203 0.1219)
OKLCHoklch(63.53% 0.171 134.6)
XYZxyz(17.0342, 27.4132, 5.6898)
Luminance0.2741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA01F #651FA0
analogous
#9BA01F #5AA01F #1FA024
triadic
#5AA01F #1F5AA0 #A01F5A
tetradic
#5AA01F #1F9BA0 #651FA0 #A0241F
square
#5AA01F #1F9BA0 #651FA0 #A0241F
split-complementary
#5AA01F #241FA0 #A01F9B
monochromatic
#20390B #3D6D15 #5AA01F #77D329 #97DF5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AA01F#FFFFFF#000000##000000
##5AA01F1.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)
#9D8D2E
Tritanopia (blue-blind)
#599A88
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5aa01f;
/* rgb */ color: rgb(90, 160, 31);
/* oklch */ color: oklch(63.5% 0.171 134.6);
Tailwind
colors: {
  custom: {
    50: '#8fbc66',
    500: '#5aa01f',
    950: '#000000',
  },
}
SCSS
$custom: #5aa01f;
$custom-light: #8fbc66;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa01f",
  "rgb": {
    "r": 90,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 92.558,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63531,
    "c": 0.17126,
    "h": 134.6
  },
  "luminance": 0.27414
}

Semantic roles & 50–950 ramp

primary
#5AA01F
secondary
#9258C3
accent
#3DEA9B
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5AA01F

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

Preview Lab → · Contrast checker → · Palette generator →

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