#5B8F16#5B8F16

#5B8F16 is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.1% C 0.154 H 131.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5B8F16
RGBrgb(91, 143, 22)
HSLhsl(86, 73%, 32%)
HSVhsv(86, 85%, 56%)
CMYKcmyk(36.4%, 0%, 84.6%, 43.9%)
CIE-LABlab(53.95, -35.69, 52.82)
CIE-LCHlch(53.95, 63.74, 124.04°)
OKLaboklab(59.11% -0.1015 0.1156)
OKLCHoklch(59.11% 0.154 131.3)
XYZxyz(14.2815, 21.9264, 4.2386)
Luminance0.2193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8F16 #4A168F
analogous
#8F8616 #5B8F16 #1F8F16
triadic
#5B8F16 #165B8F #8F165B
tetradic
#5B8F16 #168F86 #4A168F #8F161F
square
#5B8F16 #168F86 #4A168F #8F161F
split-complementary
#5B8F16 #161F8F #86168F
monochromatic
#172506 #395A0E #5B8F16 #7DC41E #9BE13E

Accessibility & contrast

On white

3.90
#5B8F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#5B8F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8F16
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8F16#FFFFFF#000000##000000
##5B8F161.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968300
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#5D8979
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5b8f16;
/* rgb */ color: rgb(91, 143, 22);
/* oklch */ color: oklch(59.1% 0.154 131.3);
Tailwind
colors: {
  custom: {
    50: '#8eb060',
    500: '#5b8f16',
    950: '#000000',
  },
}
SCSS
$custom: #5b8f16;
$custom-light: #8eb060;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8f16",
  "rgb": {
    "r": 91,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 85.785,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59106,
    "c": 0.15383,
    "h": 131.3
  },
  "luminance": 0.21927
}

Semantic roles & 50–950 ramp

primary
#5B8F16
secondary
#773FC1
accent
#38F087
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5B8F16

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

Preview Lab → · Contrast checker → · Palette generator →

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