#5D772C#5D772C

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

Color values

HEX#5D772C
RGBrgb(93, 119, 44)
HSLhsl(81, 46%, 32%)
HSVhsv(81, 63%, 47%)
CMYKcmyk(21.8%, 0%, 63%, 53.3%)
CIE-LABlab(46.58, -21.98, 37.23)
CIE-LCHlch(46.58, 43.23, 120.56°)
OKLaboklab(53.2% -0.0625 0.0861)
OKLCHoklch(53.2% 0.106 126)
XYZxyz(11.5657, 15.7025, 4.8039)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D772C #462C77
analogous
#776C2C #5D772C #38772C
triadic
#5D772C #2C5D77 #772C5D
tetradic
#5D772C #2C776C #462C77 #772C38
square
#5D772C #2C776C #462C77 #772C38
split-complementary
#5D772C #2C3877 #6C2C77
monochromatic
#171E0B #3A4A1B #5D772C #80A43D #9FC25B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D772C#FFFFFF#000000##FFFFFF
##5D772C1.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)
#7D6F23
Deuteranopia (green-blind)
#7A6E31
Tritanopia (blue-blind)
#617267
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d772c;
/* rgb */ color: rgb(93, 119, 44);
/* oklch */ color: oklch(53.2% 0.106 126.0);
Tailwind
colors: {
  custom: {
    50: '#8d9e68',
    500: '#5d772c',
    950: '#000000',
  },
}
SCSS
$custom: #5d772c;
$custom-light: #8d9e68;
$custom-dark: #000000;
JSON
{
  "hex": "#5d772c",
  "rgb": {
    "r": 93,
    "g": 119,
    "b": 44
  },
  "hsl": {
    "h": 80.8,
    "s": 46.012,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53197,
    "c": 0.10637,
    "h": 126
  },
  "luminance": 0.15703
}

Semantic roles & 50–950 ramp

primary
#5D772C
secondary
#7356A8
accent
#52D680
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5D772C

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

Preview Lab → · Contrast checker → · Palette generator →

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