#5B9617#5B9617

#5B9617 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 60.9% C 0.162 H 132.6°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5B9617
RGBrgb(91, 150, 23)
HSLhsl(88, 73%, 34%)
HSVhsv(88, 85%, 59%)
CMYKcmyk(39.3%, 0%, 84.7%, 41.2%)
CIE-LABlab(56.19, -38.71, 54.54)
CIE-LCHlch(56.19, 66.88, 125.36°)
OKLaboklab(60.94% -0.1096 0.1194)
OKLCHoklch(60.94% 0.162 132.6)
XYZxyz(15.3752, 24.0980, 4.6517)
Luminance0.2410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9617 #521796
analogous
#969217 #5B9617 #1C9617
triadic
#5B9617 #175B96 #96175B
tetradic
#5B9617 #179692 #521796 #96171C
square
#5B9617 #179692 #521796 #96171C
split-complementary
#5B9617 #171C96 #921796
monochromatic
#1B2C07 #3B610F #5B9617 #7BCB1F #99E245

Accessibility & contrast

On white

3.61
#5B9617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#5B9617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9617
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9617#FFFFFF#000000##000000
##5B96171.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#958527
Tritanopia (blue-blind)
#5C907F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5b9617;
/* rgb */ color: rgb(91, 150, 23);
/* oklch */ color: oklch(60.9% 0.162 132.6);
Tailwind
colors: {
  custom: {
    50: '#8fb562',
    500: '#5b9617',
    950: '#000000',
  },
}
SCSS
$custom: #5b9617;
$custom-light: #8fb562;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9617",
  "rgb": {
    "r": 91,
    "g": 150,
    "b": 23
  },
  "hsl": {
    "h": 87.874,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60936,
    "c": 0.16204,
    "h": 132.6
  },
  "luminance": 0.24099
}

Semantic roles & 50–950 ramp

primary
#5B9617
secondary
#8045C3
accent
#38F08D
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9617

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

Preview Lab → · Contrast checker → · Palette generator →

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