#5A9E16#5A9E16

#5A9E16 is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.0% C 0.173 H 133.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5A9E16
RGBrgb(90, 158, 22)
HSLhsl(90, 76%, 35%)
HSVhsv(90, 86%, 62%)
CMYKcmyk(43%, 0%, 86.1%, 38%)
CIE-LABlab(58.68, -42.48, 56.97)
CIE-LCHlch(58.68, 71.07, 126.71°)
OKLaboklab(62.97% -0.1197 0.1244)
OKLCHoklch(62.97% 0.173 133.9)
XYZxyz(16.5878, 26.6844, 5.0355)
Luminance0.2668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9E16 #5A169E
analogous
#9E9E16 #5A9E16 #169E16
triadic
#5A9E16 #165A9E #9E165A
tetradic
#5A9E16 #169E9E #5A169E #9E1616
square
#5A9E16 #169E9E #5A169E #9E1616
split-complementary
#5A9E16 #16169E #9E169E
monochromatic
#1D3307 #3B680F #5A9E16 #79D41D #97E649

Accessibility & contrast

On white

3.31
#5A9E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#5A9E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9E16
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9E16#FFFFFF#000000##000000
##5A9E161.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9B8B28
Tritanopia (blue-blind)
#599786
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a9e16;
/* rgb */ color: rgb(90, 158, 22);
/* oklch */ color: oklch(63.0% 0.173 133.9);
Tailwind
colors: {
  custom: {
    50: '#8fbb63',
    500: '#5a9e16',
    950: '#000000',
  },
}
SCSS
$custom: #5a9e16;
$custom-light: #8fbb63;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9e16",
  "rgb": {
    "r": 90,
    "g": 158,
    "b": 22
  },
  "hsl": {
    "h": 90,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62966,
    "c": 0.17263,
    "h": 133.9
  },
  "luminance": 0.26685
}

Semantic roles & 50–950 ramp

primary
#5A9E16
secondary
#8849C7
accent
#36F294
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5A9E16

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

Preview Lab → · Contrast checker → · Palette generator →

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