#5D772D#5D772D

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

Color values

HEX#5D772D
RGBrgb(93, 119, 45)
HSLhsl(81, 45%, 32%)
HSVhsv(81, 62%, 47%)
CMYKcmyk(21.8%, 0%, 62.2%, 53.3%)
CIE-LABlab(46.59, -21.89, 36.76)
CIE-LCHlch(46.59, 42.78, 120.77°)
OKLaboklab(53.21% -0.0621 0.0852)
OKLCHoklch(53.21% 0.105 126.1)
XYZxyz(11.5847, 15.7101, 4.9041)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D772D #472D77
analogous
#776C2D #5D772D #38772D
triadic
#5D772D #2D5D77 #772D5D
tetradic
#5D772D #2D776C #472D77 #772D38
square
#5D772D #2D776C #472D77 #772D38
split-complementary
#5D772D #2D3877 #6C2D77
monochromatic
#181E0B #3A4B1C #5D772D #80A33E #9EC25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D772D#FFFFFF#000000##FFFFFF
##5D772D1.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)
#7D6F25
Deuteranopia (green-blind)
#7A6E32
Tritanopia (blue-blind)
#617267
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d772d;
/* rgb */ color: rgb(93, 119, 45);
/* oklch */ color: oklch(53.2% 0.105 126.1);
Tailwind
colors: {
  custom: {
    50: '#8d9e69',
    500: '#5d772d',
    950: '#000000',
  },
}
SCSS
$custom: #5d772d;
$custom-light: #8d9e69;
$custom-dark: #000000;
JSON
{
  "hex": "#5d772d",
  "rgb": {
    "r": 93,
    "g": 119,
    "b": 45
  },
  "hsl": {
    "h": 81.081,
    "s": 45.122,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53208,
    "c": 0.10546,
    "h": 126.1
  },
  "luminance": 0.1571
}

Semantic roles & 50–950 ramp

primary
#5D772D
secondary
#7458A8
accent
#53D581
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5D772D

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

Preview Lab → · Contrast checker → · Palette generator →

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