#5B7716#5B7716

#5B7716 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.9% C 0.123 H 125.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5B7716
RGBrgb(91, 119, 22)
HSLhsl(77, 69%, 28%)
HSVhsv(77, 82%, 47%)
CMYKcmyk(23.5%, 0%, 81.5%, 53.3%)
CIE-LABlab(46.28, -24.37, 45.89)
CIE-LCHlch(46.28, 51.96, 117.97°)
OKLaboklab(52.86% -0.0709 0.1009)
OKLCHoklch(52.86% 0.123 125.1)
XYZxyz(11.0561, 15.4756, 3.1635)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7716 #321677
analogous
#776316 #5B7716 #2A7716
triadic
#5B7716 #165B77 #77165B
tetradic
#5B7716 #167763 #321677 #77162A
square
#5B7716 #167763 #321677 #77162A
split-complementary
#5B7716 #162A77 #631677
monochromatic
#141A05 #34430C #5B7716 #82AB20 #A8D92F

Accessibility & contrast

On white

5.13
#5B7716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5B7716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7716
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7716#FFFFFF#000000##FFFFFF
##5B77161.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#607165
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5b7716;
/* rgb */ color: rgb(91, 119, 22);
/* oklch */ color: oklch(52.9% 0.123 125.1);
Tailwind
colors: {
  custom: {
    50: '#8d9e5d',
    500: '#5b7716',
    950: '#000000',
  },
}
SCSS
$custom: #5b7716;
$custom-light: #8d9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7716",
  "rgb": {
    "r": 91,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 77.32,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52863,
    "c": 0.12334,
    "h": 125.1
  },
  "luminance": 0.15476
}

Semantic roles & 50–950 ramp

primary
#5B7716
secondary
#5D3CAC
accent
#3CEC6F
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #5B7716

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

Preview Lab → · Contrast checker → · Palette generator →

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