#5F772D#5F772D

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

Color values

HEX#5F772D
RGBrgb(95, 119, 45)
HSLhsl(79, 45%, 32%)
HSVhsv(79, 62%, 47%)
CMYKcmyk(20.2%, 0%, 62.2%, 53.3%)
CIE-LABlab(46.73, -21.04, 36.95)
CIE-LCHlch(46.73, 42.52, 119.65°)
OKLaboklab(53.36% -0.0599 0.0856)
OKLCHoklch(53.36% 0.104 125)
XYZxyz(11.7898, 15.8159, 4.9138)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F772D #452D77
analogous
#776A2D #5F772D #3A772D
triadic
#5F772D #2D5F77 #772D5F
tetradic
#5F772D #2D776A #452D77 #772D3A
square
#5F772D #2D776A #452D77 #772D3A
split-complementary
#5F772D #2D3A77 #6A2D77
monochromatic
#181E0B #3C4B1C #5F772D #82A33E #A1C25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F772D#FFFFFF#000000##FFFFFF
##5F772D1.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)
#7D7025
Deuteranopia (green-blind)
#7A6E32
Tritanopia (blue-blind)
#637167
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5f772d;
/* rgb */ color: rgb(95, 119, 45);
/* oklch */ color: oklch(53.4% 0.104 125.0);
Tailwind
colors: {
  custom: {
    50: '#8e9e69',
    500: '#5f772d',
    950: '#000000',
  },
}
SCSS
$custom: #5f772d;
$custom-light: #8e9e69;
$custom-dark: #000000;
JSON
{
  "hex": "#5f772d",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 45
  },
  "hsl": {
    "h": 79.459,
    "s": 45.122,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53357,
    "c": 0.10447,
    "h": 125
  },
  "luminance": 0.15816
}

Semantic roles & 50–950 ramp

primary
#5F772D
secondary
#7258A8
accent
#53D57D
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5F772D

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

Preview Lab → · Contrast checker → · Palette generator →

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