#5F712B#5F712B

#5F712B is a mid, moderate yellow-green. Relative luminance 0.144; OKLCH L 51.8% C 0.098 H 122.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5F712B
RGBrgb(95, 113, 43)
HSLhsl(75, 45%, 31%)
HSVhsv(75, 62%, 44%)
CMYKcmyk(15.9%, 0%, 61.9%, 55.7%)
CIE-LABlab(44.83, -18.07, 35.80)
CIE-LCHlch(44.83, 40.10, 116.78°)
OKLaboklab(51.81% -0.0518 0.0829)
OKLCHoklch(51.81% 0.098 122)
XYZxyz(11.0606, 14.4176, 4.4852)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F712B #3D2B71
analogous
#71602B #5F712B #3C712B
triadic
#5F712B #2B5F71 #712B5F
tetradic
#5F712B #2B7160 #3D2B71 #712B3C
square
#5F712B #2B7160 #3D2B71 #712B3C
split-complementary
#5F712B #2B3C71 #602B71
monochromatic
#141809 #3A451A #5F712B #849D3C #A4BF57

Accessibility & contrast

On white

5.41
#5F712B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5F712B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F712B
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F712B#FFFFFF#000000##FFFFFF
##5F712B1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A23
Deuteranopia (green-blind)
#756A30
Tritanopia (blue-blind)
#646B62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5f712b;
/* rgb */ color: rgb(95, 113, 43);
/* oklch */ color: oklch(51.8% 0.098 122.0);
Tailwind
colors: {
  custom: {
    50: '#8e9967',
    500: '#5f712b',
    950: '#000000',
  },
}
SCSS
$custom: #5f712b;
$custom-light: #8e9967;
$custom-dark: #000000;
JSON
{
  "hex": "#5f712b",
  "rgb": {
    "r": 95,
    "g": 113,
    "b": 43
  },
  "hsl": {
    "h": 75.429,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51814,
    "c": 0.09777,
    "h": 122
  },
  "luminance": 0.14418
}

Semantic roles & 50–950 ramp

primary
#5F712B
secondary
#6955A3
accent
#53D574
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5F712B

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

Preview Lab → · Contrast checker → · Palette generator →

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