#5A9916#5A9916

#5A9916 is a mid, vivid yellow-green. Relative luminance 0.250; OKLCH L 61.7% C 0.167 H 133.2°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5A9916
RGBrgb(90, 153, 22)
HSLhsl(89, 75%, 34%)
HSVhsv(89, 86%, 60%)
CMYKcmyk(41.2%, 0%, 85.6%, 40%)
CIE-LABlab(57.09, -40.39, 55.57)
CIE-LCHlch(57.09, 68.70, 126.01°)
OKLaboklab(61.66% -0.1141 0.1214)
OKLCHoklch(61.66% 0.167 133.2)
XYZxyz(15.7523, 25.0133, 4.7569)
Luminance0.2501 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9916 #551699
analogous
#999716 #5A9916 #199916
triadic
#5A9916 #165A99 #99165A
tetradic
#5A9916 #169997 #551699 #991619
square
#5A9916 #169997 #551699 #991619
split-complementary
#5A9916 #161999 #971699
monochromatic
#1B2E07 #3B630E #5A9916 #79CF1E #98E445

Accessibility & contrast

On white

3.50
#5A9916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#5A9916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9916
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9916#FFFFFF#000000##000000
##5A99161.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08C00
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#5A9382
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a9916;
/* rgb */ color: rgb(90, 153, 22);
/* oklch */ color: oklch(61.7% 0.167 133.2);
Tailwind
colors: {
  custom: {
    50: '#8fb762',
    500: '#5a9916',
    950: '#000000',
  },
}
SCSS
$custom: #5a9916;
$custom-light: #8fb762;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9916",
  "rgb": {
    "r": 90,
    "g": 153,
    "b": 22
  },
  "hsl": {
    "h": 88.855,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.6166,
    "c": 0.16661,
    "h": 133.2
  },
  "luminance": 0.25014
}

Semantic roles & 50–950 ramp

primary
#5A9916
secondary
#8346C5
accent
#36F190
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A9916

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

Preview Lab → · Contrast checker → · Palette generator →

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