#5B9017#5B9017

#5B9017 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.4% C 0.155 H 131.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5B9017
RGBrgb(91, 144, 23)
HSLhsl(86, 72%, 33%)
HSVhsv(86, 84%, 56%)
CMYKcmyk(36.8%, 0%, 84%, 43.5%)
CIE-LABlab(54.27, -36.09, 52.84)
CIE-LCHlch(54.27, 63.98, 124.33°)
OKLaboklab(59.37% -0.1025 0.1158)
OKLCHoklch(59.37% 0.155 131.5)
XYZxyz(14.4422, 22.2319, 4.3407)
Luminance0.2223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9017 #4C1790
analogous
#908817 #5B9017 #1E9017
triadic
#5B9017 #175B90 #90175B
tetradic
#5B9017 #179088 #4C1790 #90171E
square
#5B9017 #179088 #4C1790 #90171E
split-complementary
#5B9017 #171E90 #881790
monochromatic
#182606 #3A5B0F #5B9017 #7CC51F #9BE141

Accessibility & contrast

On white

3.86
#5B9017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5B9017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9017
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9017#FFFFFF#000000##000000
##5B90171.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#8F8026
Tritanopia (blue-blind)
#5D8A7A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5b9017;
/* rgb */ color: rgb(91, 144, 23);
/* oklch */ color: oklch(59.4% 0.155 131.5);
Tailwind
colors: {
  custom: {
    50: '#8eb161',
    500: '#5b9017',
    950: '#000000',
  },
}
SCSS
$custom: #5b9017;
$custom-light: #8eb161;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9017",
  "rgb": {
    "r": 91,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 86.281,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59371,
    "c": 0.15464,
    "h": 131.5
  },
  "luminance": 0.22233
}

Semantic roles & 50–950 ramp

primary
#5B9017
secondary
#7A42C1
accent
#39EF89
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5B9017

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

Preview Lab → · Contrast checker → · Palette generator →

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