#5B8016#5B8016

#5B8016 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.2% C 0.135 H 127.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5B8016
RGBrgb(91, 128, 22)
HSLhsl(81, 71%, 29%)
HSVhsv(81, 83%, 50%)
CMYKcmyk(28.9%, 0%, 82.8%, 49.8%)
CIE-LABlab(49.15, -28.77, 48.52)
CIE-LCHlch(49.15, 56.41, 120.67°)
OKLaboklab(55.2% -0.0829 0.1065)
OKLCHoklch(55.2% 0.135 127.9)
XYZxyz(12.1784, 17.7201, 3.5376)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8016 #3B1680
analogous
#807016 #5B8016 #268016
triadic
#5B8016 #165B80 #80165B
tetradic
#5B8016 #168070 #3B1680 #801626
square
#5B8016 #168070 #3B1680 #801626
split-complementary
#5B8016 #162680 #701680
monochromatic
#131A04 #364C0D #5B8016 #80B41F #A2DC34

Accessibility & contrast

On white

4.62
#5B8016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#5B8016 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B8016
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8016#FFFFFF#000000##FFFFFF
##5B80161.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#827422
Tritanopia (blue-blind)
#5F7A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5b8016;
/* rgb */ color: rgb(91, 128, 22);
/* oklch */ color: oklch(55.2% 0.135 127.9);
Tailwind
colors: {
  custom: {
    50: '#8da55e',
    500: '#5b8016',
    950: '#000000',
  },
}
SCSS
$custom: #5b8016;
$custom-light: #8da55e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8016",
  "rgb": {
    "r": 91,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 80.943,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55198,
    "c": 0.13491,
    "h": 127.9
  },
  "luminance": 0.1772
}

Semantic roles & 50–950 ramp

primary
#5B8016
secondary
#673DB5
accent
#3AED79
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0D0F05
muted
#7D7F79

Preview Lab

Preview with #5B8016

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

Preview Lab → · Contrast checker → · Palette generator →

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