#5B710D#5B710D

#5B710D is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.3% C 0.120 H 122.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5B710D
RGBrgb(91, 113, 13)
HSLhsl(73, 79%, 25%)
HSVhsv(73, 88%, 44%)
CMYKcmyk(19.5%, 0%, 88.5%, 55.7%)
CIE-LABlab(44.32, -21.70, 46.76)
CIE-LCHlch(44.32, 51.55, 114.89°)
OKLaboklab(51.27% -0.0643 0.1012)
OKLCHoklch(51.27% 0.12 122.4)
XYZxyz(10.2923, 14.0634, 2.5530)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B710D #230D71
analogous
#71550D #5B710D #29710D
triadic
#5B710D #0D5B71 #710D5B
tetradic
#5B710D #0D7155 #230D71 #710D29
square
#5B710D #0D7155 #230D71 #710D29
split-complementary
#5B710D #0D2971 #550D71
monochromatic
#161B03 #2F3A07 #5B710D #87A813 #B3DF1A

Accessibility & contrast

On white

5.51
#5B710D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5B710D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B710D
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B710D#FFFFFF#000000##FFFFFF
##5B710D1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#766919
Tritanopia (blue-blind)
#606B60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5b710d;
/* rgb */ color: rgb(91, 113, 13);
/* oklch */ color: oklch(51.3% 0.120 122.4);
Tailwind
colors: {
  custom: {
    50: '#8d9958',
    500: '#5b710d',
    950: '#000000',
  },
}
SCSS
$custom: #5b710d;
$custom-light: #8d9958;
$custom-dark: #000000;
JSON
{
  "hex": "#5b710d",
  "rgb": {
    "r": 91,
    "g": 113,
    "b": 13
  },
  "hsl": {
    "h": 73.2,
    "s": 79.365,
    "l": 24.706
  },
  "oklch": {
    "l": 0.51268,
    "c": 0.11989,
    "h": 122.4
  },
  "luminance": 0.14063
}

Semantic roles & 50–950 ramp

primary
#5B710D
secondary
#4B30A9
accent
#32F65D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5B710D

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

Preview Lab → · Contrast checker → · Palette generator →

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