#5D771D#5D771D

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

Color values

HEX#5D771D
RGBrgb(93, 119, 29)
HSLhsl(77, 61%, 29%)
HSVhsv(77, 76%, 47%)
CMYKcmyk(21.8%, 0%, 75.6%, 53.3%)
CIE-LABlab(46.46, -23.12, 43.63)
CIE-LCHlch(46.46, 49.37, 117.92°)
OKLaboklab(53.06% -0.067 0.0973)
OKLCHoklch(53.06% 0.118 124.6)
XYZxyz(11.3329, 15.6094, 3.5780)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D771D #371D77
analogous
#77641D #5D771D #30771D
triadic
#5D771D #1D5D77 #771D5D
tetradic
#5D771D #1D7764 #371D77 #771D30
square
#5D771D #1D7764 #371D77 #771D30
split-complementary
#5D771D #1D3077 #641D77
monochromatic
#131906 #374611 #5D771D #83A829 #A6D03E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D771D#FFFFFF#000000##FFFFFF
##5D771D1.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)
#7E6F0C
Deuteranopia (green-blind)
#7A6E25
Tritanopia (blue-blind)
#627166
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d771d;
/* rgb */ color: rgb(93, 119, 29);
/* oklch */ color: oklch(53.1% 0.118 124.6);
Tailwind
colors: {
  custom: {
    50: '#8e9e60',
    500: '#5d771d',
    950: '#000000',
  },
}
SCSS
$custom: #5d771d;
$custom-light: #8e9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#5d771d",
  "rgb": {
    "r": 93,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 77.333,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53057,
    "c": 0.11817,
    "h": 124.6
  },
  "luminance": 0.1561
}

Semantic roles & 50–950 ramp

primary
#5D771D
secondary
#6245AB
accent
#44E472
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5D771D

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

Preview Lab → · Contrast checker → · Palette generator →

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