#5F712A#5F712A

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

Color values

HEX#5F712A
RGBrgb(95, 113, 42)
HSLhsl(75, 46%, 30%)
HSVhsv(75, 63%, 44%)
CMYKcmyk(15.9%, 0%, 62.8%, 55.7%)
CIE-LABlab(44.82, -18.16, 36.28)
CIE-LCHlch(44.82, 40.57, 116.59°)
OKLaboklab(51.8% -0.0522 0.0838)
OKLCHoklch(51.8% 0.099 121.9)
XYZxyz(11.0425, 14.4103, 4.3898)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F712A #3C2A71
analogous
#715F2A #5F712A #3C712A
triadic
#5F712A #2A5F71 #712A5F
tetradic
#5F712A #2A715F #3C2A71 #712A3C
square
#5F712A #2A715F #3C2A71 #712A3C
split-complementary
#5F712A #2A3C71 #5F2A71
monochromatic
#141809 #394419 #5F712A #859E3B #A5C055

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F712A#FFFFFF#000000##FFFFFF
##5F712A1.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)
#786A22
Deuteranopia (green-blind)
#756A2F
Tritanopia (blue-blind)
#646B62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5f712a;
/* rgb */ color: rgb(95, 113, 42);
/* oklch */ color: oklch(51.8% 0.099 121.9);
Tailwind
colors: {
  custom: {
    50: '#8e9967',
    500: '#5f712a',
    950: '#000000',
  },
}
SCSS
$custom: #5f712a;
$custom-light: #8e9967;
$custom-dark: #000000;
JSON
{
  "hex": "#5f712a",
  "rgb": {
    "r": 95,
    "g": 113,
    "b": 42
  },
  "hsl": {
    "h": 75.211,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51803,
    "c": 0.0987,
    "h": 121.9
  },
  "luminance": 0.1441
}

Semantic roles & 50–950 ramp

primary
#5F712A
secondary
#6854A3
accent
#52D574
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5F712A

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

Preview Lab → · Contrast checker → · Palette generator →

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