#5D772A#5D772A

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

Color values

HEX#5D772A
RGBrgb(93, 119, 42)
HSLhsl(80, 48%, 32%)
HSVhsv(80, 65%, 47%)
CMYKcmyk(21.8%, 0%, 64.7%, 53.3%)
CIE-LABlab(46.56, -22.16, 38.16)
CIE-LCHlch(46.56, 44.12, 120.14°)
OKLaboklab(53.18% -0.0631 0.0878)
OKLCHoklch(53.18% 0.108 125.7)
XYZxyz(11.5290, 15.6878, 4.6107)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D772A #442A77
analogous
#776B2A #5D772A #37772A
triadic
#5D772A #2A5D77 #772A5D
tetradic
#5D772A #2A776B #442A77 #772A37
square
#5D772A #2A776B #442A77 #772A37
split-complementary
#5D772A #2A3777 #6B2A77
monochromatic
#161D0A #3A4A1A #5D772A #80A43A #9FC458

Accessibility & contrast

On white

5.08
#5D772A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D772A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D772A#FFFFFF#000000##FFFFFF
##5D772A1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F21
Deuteranopia (green-blind)
#7A6E30
Tritanopia (blue-blind)
#617167
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d772a;
/* rgb */ color: rgb(93, 119, 42);
/* oklch */ color: oklch(53.2% 0.108 125.7);
Tailwind
colors: {
  custom: {
    50: '#8d9e67',
    500: '#5d772a',
    950: '#000000',
  },
}
SCSS
$custom: #5d772a;
$custom-light: #8d9e67;
$custom-dark: #000000;
JSON
{
  "hex": "#5d772a",
  "rgb": {
    "r": 93,
    "g": 119,
    "b": 42
  },
  "hsl": {
    "h": 80.26,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53175,
    "c": 0.10816,
    "h": 125.7
  },
  "luminance": 0.15688
}

Semantic roles & 50–950 ramp

primary
#5D772A
secondary
#7154A9
accent
#50D77E
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5D772A

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

Preview Lab → · Contrast checker → · Palette generator →

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