#5B7016#5B7016

#5B7016 is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 51.1% C 0.114 H 122.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5B7016
RGBrgb(91, 112, 22)
HSLhsl(74, 67%, 26%)
HSVhsv(74, 80%, 44%)
CMYKcmyk(18.7%, 0%, 80.4%, 56.1%)
CIE-LABlab(44.05, -20.80, 43.83)
CIE-LCHlch(44.05, 48.51, 115.39°)
OKLaboklab(51.06% -0.0612 0.0966)
OKLCHoklch(51.06% 0.114 122.4)
XYZxyz(10.2535, 13.8704, 2.8960)
Luminance0.1387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7016 #2B1670
analogous
#705816 #5B7016 #2E7016
triadic
#5B7016 #165B70 #70165B
tetradic
#5B7016 #167058 #2B1670 #70162E
square
#5B7016 #167058 #2B1670 #70162E
split-complementary
#5B7016 #162E70 #581670
monochromatic
#151A05 #313D0C #5B7016 #85A320 #AED52B

Accessibility & contrast

On white

5.56
#5B7016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5B7016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7016
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7016#FFFFFF#000000##FFFFFF
##5B70161.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776901
Deuteranopia (green-blind)
#74681F
Tritanopia (blue-blind)
#606A5F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5b7016;
/* rgb */ color: rgb(91, 112, 22);
/* oklch */ color: oklch(51.1% 0.114 122.4);
Tailwind
colors: {
  custom: {
    50: '#8c995c',
    500: '#5b7016',
    950: '#000000',
  },
}
SCSS
$custom: #5b7016;
$custom-light: #8c995c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7016",
  "rgb": {
    "r": 91,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 74,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51057,
    "c": 0.11431,
    "h": 122.4
  },
  "luminance": 0.1387
}

Semantic roles & 50–950 ramp

primary
#5B7016
secondary
#553CA6
accent
#3EEA66
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5B7016

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

Preview Lab → · Contrast checker → · Palette generator →

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