#5D772F#5D772F

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

Color values

HEX#5D772F
RGBrgb(93, 119, 47)
HSLhsl(82, 43%, 33%)
HSVhsv(82, 61%, 47%)
CMYKcmyk(21.8%, 0%, 60.5%, 53.3%)
CIE-LABlab(46.61, -21.70, 35.80)
CIE-LCHlch(46.61, 41.86, 121.22°)
OKLaboklab(53.23% -0.0614 0.0834)
OKLCHoklch(53.23% 0.104 126.3)
XYZxyz(11.6241, 15.7259, 5.1118)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D772F #492F77
analogous
#776D2F #5D772F #39772F
triadic
#5D772F #2F5D77 #772F5D
tetradic
#5D772F #2F776D #492F77 #772F39
square
#5D772F #2F776D #492F77 #772F39
split-complementary
#5D772F #2F3977 #6D2F77
monochromatic
#181F0C #3B4B1E #5D772F #7FA340 #9EC060

Accessibility & contrast

On white

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

On black

4.15
#5D772F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5D772F#FFFFFF#000000##FFFFFF
##5D772F1.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F27
Deuteranopia (green-blind)
#796E34
Tritanopia (blue-blind)
#607267
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d772f;
/* rgb */ color: rgb(93, 119, 47);
/* oklch */ color: oklch(53.2% 0.104 126.3);
Tailwind
colors: {
  custom: {
    50: '#8d9e6a',
    500: '#5d772f',
    950: '#000000',
  },
}
SCSS
$custom: #5d772f;
$custom-light: #8d9e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d772f",
  "rgb": {
    "r": 93,
    "g": 119,
    "b": 47
  },
  "hsl": {
    "h": 81.667,
    "s": 43.373,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53232,
    "c": 0.10358,
    "h": 126.3
  },
  "luminance": 0.15726
}

Semantic roles & 50–950 ramp

primary
#5D772F
secondary
#765BA7
accent
#55D382
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E07
muted
#7D7E7A

Preview Lab

Preview with #5D772F

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

Preview Lab → · Contrast checker → · Palette generator →

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