#5F772F#5F772F

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

Color values

HEX#5F772F
RGBrgb(95, 119, 47)
HSLhsl(80, 43%, 33%)
HSVhsv(80, 61%, 47%)
CMYKcmyk(20.2%, 0%, 60.5%, 53.3%)
CIE-LABlab(46.75, -20.85, 36.00)
CIE-LCHlch(46.75, 41.60, 120.08°)
OKLaboklab(53.38% -0.0592 0.0838)
OKLCHoklch(53.38% 0.103 125.2)
XYZxyz(11.8293, 15.8317, 5.1214)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F772F #472F77
analogous
#776B2F #5F772F #3B772F
triadic
#5F772F #2F5F77 #772F5F
tetradic
#5F772F #2F776B #472F77 #772F3B
square
#5F772F #2F776B #472F77 #772F3B
split-complementary
#5F772F #2F3B77 #6B2F77
monochromatic
#191F0C #3C4B1E #5F772F #82A340 #A0C060

Accessibility & contrast

On white

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

On black

4.17
#5F772F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5F772F#FFFFFF#000000##FFFFFF
##5F772F1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f772f;
/* rgb */ color: rgb(95, 119, 47);
/* oklch */ color: oklch(53.4% 0.103 125.2);
Tailwind
colors: {
  custom: {
    50: '#8e9e6a',
    500: '#5f772f',
    950: '#000000',
  },
}
SCSS
$custom: #5f772f;
$custom-light: #8e9e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f772f",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 47
  },
  "hsl": {
    "h": 80,
    "s": 43.373,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53381,
    "c": 0.10259,
    "h": 125.2
  },
  "luminance": 0.15832
}

Semantic roles & 50–950 ramp

primary
#5F772F
secondary
#745BA7
accent
#55D37F
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E07
muted
#7D7E7A

Preview Lab

Preview with #5F772F

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

Preview Lab → · Contrast checker → · Palette generator →

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