#5D772B#5D772B

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

Color values

HEX#5D772B
RGBrgb(93, 119, 43)
HSLhsl(81, 47%, 32%)
HSVhsv(81, 64%, 47%)
CMYKcmyk(21.8%, 0%, 63.9%, 53.3%)
CIE-LABlab(46.57, -22.07, 37.69)
CIE-LCHlch(46.57, 43.68, 120.35°)
OKLaboklab(53.19% -0.0628 0.087)
OKLCHoklch(53.19% 0.107 125.8)
XYZxyz(11.5471, 15.6951, 4.7061)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D772B #452B77
analogous
#776B2B #5D772B #37772B
triadic
#5D772B #2B5D77 #772B5D
tetradic
#5D772B #2B776B #452B77 #772B37
square
#5D772B #2B776B #452B77 #772B37
split-complementary
#5D772B #2B3777 #6B2B77
monochromatic
#171D0B #3A4A1B #5D772B #80A43B #9FC359

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D772B#FFFFFF#000000##FFFFFF
##5D772B1.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)
#7D6F22
Deuteranopia (green-blind)
#7A6E30
Tritanopia (blue-blind)
#617167
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d772b;
/* rgb */ color: rgb(93, 119, 43);
/* oklch */ color: oklch(53.2% 0.107 125.8);
Tailwind
colors: {
  custom: {
    50: '#8d9e68',
    500: '#5d772b',
    950: '#000000',
  },
}
SCSS
$custom: #5d772b;
$custom-light: #8d9e68;
$custom-dark: #000000;
JSON
{
  "hex": "#5d772b",
  "rgb": {
    "r": 93,
    "g": 119,
    "b": 43
  },
  "hsl": {
    "h": 80.526,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53185,
    "c": 0.10727,
    "h": 125.8
  },
  "luminance": 0.15695
}

Semantic roles & 50–950 ramp

primary
#5D772B
secondary
#7255A9
accent
#51D77F
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5D772B

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

Preview Lab → · Contrast checker → · Palette generator →

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