#5F712D#5F712D

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

Color values

HEX#5F712D
RGBrgb(95, 113, 45)
HSLhsl(76, 43%, 31%)
HSVhsv(76, 60%, 44%)
CMYKcmyk(15.9%, 0%, 60.2%, 55.7%)
CIE-LABlab(44.85, -17.89, 34.83)
CIE-LCHlch(44.85, 39.16, 117.18°)
OKLaboklab(51.84% -0.0511 0.0811)
OKLCHoklch(51.84% 0.096 122.2)
XYZxyz(11.0982, 14.4326, 4.6832)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F712D #3F2D71
analogous
#71612D #5F712D #3D712D
triadic
#5F712D #2D5F71 #712D5F
tetradic
#5F712D #2D7161 #3F2D71 #712D3D
square
#5F712D #2D7161 #3F2D71 #712D3D
split-complementary
#5F712D #2D3D71 #612D71
monochromatic
#15190A #3A451C #5F712D #849D3E #A3BE5B

Accessibility & contrast

On white

5.40
#5F712D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5F712D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F712D
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F712D#FFFFFF#000000##FFFFFF
##5F712D1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A26
Deuteranopia (green-blind)
#756A31
Tritanopia (blue-blind)
#646C62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5f712d;
/* rgb */ color: rgb(95, 113, 45);
/* oklch */ color: oklch(51.8% 0.096 122.2);
Tailwind
colors: {
  custom: {
    50: '#8e9969',
    500: '#5f712d',
    950: '#000000',
  },
}
SCSS
$custom: #5f712d;
$custom-light: #8e9969;
$custom-dark: #000000;
JSON
{
  "hex": "#5f712d",
  "rgb": {
    "r": 95,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 75.882,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51838,
    "c": 0.09584,
    "h": 122.2
  },
  "luminance": 0.14433
}

Semantic roles & 50–950 ramp

primary
#5F712D
secondary
#6B57A3
accent
#55D376
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5F712D

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

Preview Lab → · Contrast checker → · Palette generator →

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