#5F771E#5F771E

#5F771E is a mid, moderate yellow-green. Relative luminance 0.157; OKLCH L 53.2% C 0.117 H 123.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5F771E
RGBrgb(95, 119, 30)
HSLhsl(76, 60%, 29%)
HSVhsv(76, 75%, 47%)
CMYKcmyk(20.2%, 0%, 74.8%, 53.3%)
CIE-LABlab(46.61, -22.19, 43.43)
CIE-LCHlch(46.61, 48.77, 117.06°)
OKLaboklab(53.21% -0.0645 0.097)
OKLCHoklch(53.21% 0.117 123.6)
XYZxyz(11.5506, 15.7202, 3.6538)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F771E #361E77
analogous
#77631E #5F771E #33771E
triadic
#5F771E #1E5F77 #771E5F
tetradic
#5F771E #1E7763 #361E77 #771E33
square
#5F771E #1E7763 #361E77 #771E33
split-complementary
#5F771E #1E3377 #631E77
monochromatic
#141806 #384612 #5F771E #86A82A #A9CF40

Accessibility & contrast

On white

5.07
#5F771E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5F771E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F771E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F771E#FFFFFF#000000##FFFFFF
##5F771E1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0E
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#647166
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f771e;
/* rgb */ color: rgb(95, 119, 30);
/* oklch */ color: oklch(53.2% 0.117 123.6);
Tailwind
colors: {
  custom: {
    50: '#8f9e60',
    500: '#5f771e',
    950: '#000000',
  },
}
SCSS
$custom: #5f771e;
$custom-light: #8f9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#5f771e",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 76.18,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53214,
    "c": 0.11652,
    "h": 123.6
  },
  "luminance": 0.1572
}

Semantic roles & 50–950 ramp

primary
#5F771E
secondary
#6146AB
accent
#45E370
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F771E

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

Preview Lab → · Contrast checker → · Palette generator →

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