#5D771F#5D771F

#5D771F is a mid, moderate yellow-green. Relative luminance 0.156; OKLCH L 53.1% C 0.117 H 124.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5D771F
RGBrgb(93, 119, 31)
HSLhsl(78, 59%, 29%)
HSVhsv(78, 74%, 47%)
CMYKcmyk(21.8%, 0%, 73.9%, 53.3%)
CIE-LABlab(46.47, -22.99, 42.86)
CIE-LCHlch(46.47, 48.63, 118.21°)
OKLaboklab(53.07% -0.0665 0.096)
OKLCHoklch(53.07% 0.117 124.7)
XYZxyz(11.3584, 15.6196, 3.7125)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D771F #391F77
analogous
#77651F #5D771F #31771F
triadic
#5D771F #1F5D77 #771F5D
tetradic
#5D771F #1F7765 #391F77 #771F31
square
#5D771F #1F7765 #391F77 #771F31
split-complementary
#5D771F #1F3177 #651F77
monochromatic
#131806 #374612 #5D771F #83A82C #A5CE43

Accessibility & contrast

On white

5.09
#5D771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5D771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D771F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D771F#FFFFFF#000000##FFFFFF
##5D771F1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F10
Deuteranopia (green-blind)
#7A6E27
Tritanopia (blue-blind)
#617166
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d771f;
/* rgb */ color: rgb(93, 119, 31);
/* oklch */ color: oklch(53.1% 0.117 124.7);
Tailwind
colors: {
  custom: {
    50: '#8e9e61',
    500: '#5d771f',
    950: '#000000',
  },
}
SCSS
$custom: #5d771f;
$custom-light: #8e9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#5d771f",
  "rgb": {
    "r": 93,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 77.727,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53072,
    "c": 0.11682,
    "h": 124.7
  },
  "luminance": 0.1562
}

Semantic roles & 50–950 ramp

primary
#5D771F
secondary
#6547AB
accent
#46E274
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5D771F

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

Preview Lab → · Contrast checker → · Palette generator →

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