#5B9916#5B9916

#5B9916 is a mid, vivid yellow-green. Relative luminance 0.251; OKLCH L 61.7% C 0.166 H 133.0°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5B9916
RGBrgb(91, 153, 22)
HSLhsl(88, 75%, 34%)
HSVhsv(88, 86%, 60%)
CMYKcmyk(40.5%, 0%, 85.6%, 40%)
CIE-LABlab(57.14, -40.04, 55.64)
CIE-LCHlch(57.14, 68.54, 125.74°)
OKLaboklab(61.71% -0.1132 0.1215)
OKLCHoklch(61.71% 0.166 133)
XYZxyz(15.8502, 25.0638, 4.7615)
Luminance0.2506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9916 #541699
analogous
#999616 #5B9916 #1A9916
triadic
#5B9916 #165B99 #99165B
tetradic
#5B9916 #169996 #541699 #99161A
square
#5B9916 #169996 #541699 #99161A
split-complementary
#5B9916 #161A99 #961699
monochromatic
#1B2E07 #3B630E #5B9916 #7BCF1E #99E445

Accessibility & contrast

On white

3.49
#5B9916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#5B9916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9916
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9916#FFFFFF#000000##000000
##5B99161.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b9916;
/* rgb */ color: rgb(91, 153, 22);
/* oklch */ color: oklch(61.7% 0.166 133.0);
Tailwind
colors: {
  custom: {
    50: '#8fb762',
    500: '#5b9916',
    950: '#000000',
  },
}
SCSS
$custom: #5b9916;
$custom-light: #8fb762;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9916",
  "rgb": {
    "r": 91,
    "g": 153,
    "b": 22
  },
  "hsl": {
    "h": 88.397,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61714,
    "c": 0.16608,
    "h": 133
  },
  "luminance": 0.25065
}

Semantic roles & 50–950 ramp

primary
#5B9916
secondary
#8246C5
accent
#36F18F
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9916

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

Preview Lab → · Contrast checker → · Palette generator →

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