#5D771E#5D771E

#5D771E 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#5D771E
RGBrgb(93, 119, 30)
HSLhsl(78, 60%, 29%)
HSVhsv(78, 75%, 47%)
CMYKcmyk(21.8%, 0%, 74.8%, 53.3%)
CIE-LABlab(46.46, -23.06, 43.24)
CIE-LCHlch(46.46, 49.01, 118.07°)
OKLaboklab(53.06% -0.0668 0.0967)
OKLCHoklch(53.06% 0.118 124.6)
XYZxyz(11.3455, 15.6144, 3.6442)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D771E #381E77
analogous
#77651E #5D771E #31771E
triadic
#5D771E #1E5D77 #771E5D
tetradic
#5D771E #1E7765 #381E77 #771E31
square
#5D771E #1E7765 #381E77 #771E31
split-complementary
#5D771E #1E3177 #651E77
monochromatic
#131806 #374612 #5D771E #83A82A #A5CF40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D771E#FFFFFF#000000##FFFFFF
##5D771E1.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)
#7E6F0E
Deuteranopia (green-blind)
#7A6E26
Tritanopia (blue-blind)
#627166
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d771e;
/* rgb */ color: rgb(93, 119, 30);
/* oklch */ color: oklch(53.1% 0.118 124.6);
Tailwind
colors: {
  custom: {
    50: '#8e9e60',
    500: '#5d771e',
    950: '#000000',
  },
}
SCSS
$custom: #5d771e;
$custom-light: #8e9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#5d771e",
  "rgb": {
    "r": 93,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 77.528,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53064,
    "c": 0.11751,
    "h": 124.6
  },
  "luminance": 0.15615
}

Semantic roles & 50–950 ramp

primary
#5D771E
secondary
#6346AB
accent
#45E373
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5D771E

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

Preview Lab → · Contrast checker → · Palette generator →

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