#5B9E16#5B9E16

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

Color values

HEX#5B9E16
RGBrgb(91, 158, 22)
HSLhsl(90, 76%, 35%)
HSVhsv(90, 86%, 62%)
CMYKcmyk(42.4%, 0%, 86.1%, 38%)
CIE-LABlab(58.73, -42.14, 57.03)
CIE-LCHlch(58.73, 70.91, 126.46°)
OKLaboklab(63.02% -0.1188 0.1245)
OKLCHoklch(63.02% 0.172 133.7)
XYZxyz(16.6858, 26.7349, 5.0401)
Luminance0.2674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9E16 #59169E
analogous
#9E9D16 #5B9E16 #179E16
triadic
#5B9E16 #165B9E #9E165B
tetradic
#5B9E16 #169E9D #59169E #9E1617
square
#5B9E16 #169E9D #59169E #9E1617
split-complementary
#5B9E16 #16179E #9D169E
monochromatic
#1D3307 #3C680F #5B9E16 #7AD41D #98E649

Accessibility & contrast

On white

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

On black

6.35
#5B9E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9E16
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9E16#FFFFFF#000000##000000
##5B9E161.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9C8B28
Tritanopia (blue-blind)
#5B9786
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b9e16;
/* rgb */ color: rgb(91, 158, 22);
/* oklch */ color: oklch(63.0% 0.172 133.7);
Tailwind
colors: {
  custom: {
    50: '#90bb63',
    500: '#5b9e16',
    950: '#000000',
  },
}
SCSS
$custom: #5b9e16;
$custom-light: #90bb63;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9e16",
  "rgb": {
    "r": 91,
    "g": 158,
    "b": 22
  },
  "hsl": {
    "h": 89.559,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.63018,
    "c": 0.1721,
    "h": 133.7
  },
  "luminance": 0.26736
}

Semantic roles & 50–950 ramp

primary
#5B9E16
secondary
#8749C7
accent
#36F293
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5B9E16

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

Preview Lab → · Contrast checker → · Palette generator →

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