#5F771D#5F771D

#5F771D 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#5F771D
RGBrgb(95, 119, 29)
HSLhsl(76, 61%, 29%)
HSVhsv(76, 76%, 47%)
CMYKcmyk(20.2%, 0%, 75.6%, 53.3%)
CIE-LABlab(46.60, -22.25, 43.81)
CIE-LCHlch(46.60, 49.14, 116.92°)
OKLaboklab(53.21% -0.0648 0.0976)
OKLCHoklch(53.21% 0.117 123.6)
XYZxyz(11.5380, 15.7152, 3.5876)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F771D #351D77
analogous
#77621D #5F771D #32771D
triadic
#5F771D #1D5F77 #771D5F
tetradic
#5F771D #1D7762 #351D77 #771D32
square
#5F771D #1D7762 #351D77 #771D32
split-complementary
#5F771D #1D3277 #621D77
monochromatic
#141906 #384611 #5F771D #86A829 #A9D03E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F771D#FFFFFF#000000##FFFFFF
##5F771D1.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)
#7E6F0C
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#647166
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f771d;
/* rgb */ color: rgb(95, 119, 29);
/* oklch */ color: oklch(53.2% 0.117 123.6);
Tailwind
colors: {
  custom: {
    50: '#8f9e60',
    500: '#5f771d',
    950: '#000000',
  },
}
SCSS
$custom: #5f771d;
$custom-light: #8f9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#5f771d",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 76,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53207,
    "c": 0.11719,
    "h": 123.6
  },
  "luminance": 0.15715
}

Semantic roles & 50–950 ramp

primary
#5F771D
secondary
#6045AB
accent
#44E46F
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F771D

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

Preview Lab → · Contrast checker → · Palette generator →

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