#5F772E#5F772E

#5F772E is a mid, moderate yellow-green. Relative luminance 0.158; OKLCH L 53.4% C 0.104 H 125.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5F772E
RGBrgb(95, 119, 46)
HSLhsl(80, 44%, 32%)
HSVhsv(80, 61%, 47%)
CMYKcmyk(20.2%, 0%, 61.3%, 53.3%)
CIE-LABlab(46.74, -20.94, 36.48)
CIE-LCHlch(46.74, 42.06, 119.86°)
OKLaboklab(53.37% -0.0595 0.0847)
OKLCHoklch(53.37% 0.104 125.1)
XYZxyz(11.8093, 15.8237, 5.0164)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F772E #462E77
analogous
#776A2E #5F772E #3B772E
triadic
#5F772E #2E5F77 #772E5F
tetradic
#5F772E #2E776A #462E77 #772E3B
square
#5F772E #2E776A #462E77 #772E3B
split-complementary
#5F772E #2E3B77 #6A2E77
monochromatic
#191F0C #3C4B1D #5F772E #82A33F #A1C15E

Accessibility & contrast

On white

5.04
#5F772E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5F772E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F772E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F772E#FFFFFF#000000##FFFFFF
##5F772E1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7026
Deuteranopia (green-blind)
#7A6E33
Tritanopia (blue-blind)
#637267
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5f772e;
/* rgb */ color: rgb(95, 119, 46);
/* oklch */ color: oklch(53.4% 0.104 125.1);
Tailwind
colors: {
  custom: {
    50: '#8e9e6a',
    500: '#5f772e',
    950: '#000000',
  },
}
SCSS
$custom: #5f772e;
$custom-light: #8e9e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f772e",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 46
  },
  "hsl": {
    "h": 79.726,
    "s": 44.242,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53369,
    "c": 0.10354,
    "h": 125.1
  },
  "luminance": 0.15824
}

Semantic roles & 50–950 ramp

primary
#5F772E
secondary
#7359A8
accent
#54D47E
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5F772E

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

Preview Lab → · Contrast checker → · Palette generator →

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