#5AA01B#5AA01B

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

Color values

HEX#5AA01B
RGBrgb(90, 160, 27)
HSLhsl(92, 71%, 37%)
HSVhsv(92, 83%, 63%)
CMYKcmyk(43.7%, 0%, 83.1%, 37.3%)
CIE-LABlab(59.34, -43.10, 56.28)
CIE-LCHlch(59.34, 70.88, 127.45°)
OKLaboklab(63.51% -0.1211 0.1237)
OKLCHoklch(63.51% 0.173 134.4)
XYZxyz(16.9848, 27.3934, 5.4292)
Luminance0.2739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA01B #611BA0
analogous
#9DA01B #5AA01B #1BA01F
triadic
#5AA01B #1B5AA0 #A01B5A
tetradic
#5AA01B #1B9DA0 #611BA0 #A01F1B
square
#5AA01B #1B9DA0 #611BA0 #A01F1B
split-complementary
#5AA01B #1F1BA0 #A01B9D
monochromatic
#1F3709 #3D6C12 #5AA01B #77D424 #97E253

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AA01B#FFFFFF#000000##000000
##5AA01B1.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)
#9D8D2B
Tritanopia (blue-blind)
#599988
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5aa01b;
/* rgb */ color: rgb(90, 160, 27);
/* oklch */ color: oklch(63.5% 0.173 134.4);
Tailwind
colors: {
  custom: {
    50: '#8fbc65',
    500: '#5aa01b',
    950: '#000000',
  },
}
SCSS
$custom: #5aa01b;
$custom-light: #8fbc65;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa01b",
  "rgb": {
    "r": 90,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 91.579,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6351,
    "c": 0.17306,
    "h": 134.4
  },
  "luminance": 0.27394
}

Semantic roles & 50–950 ramp

primary
#5AA01B
secondary
#8E52C5
accent
#3AEE99
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5AA01B

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

Preview Lab → · Contrast checker → · Palette generator →

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