#5D7929#5D7929

#5D7929 is a mid, moderate yellow-green. Relative luminance 0.162; OKLCH L 53.7% C 0.112 H 126.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5D7929
RGBrgb(93, 121, 41)
HSLhsl(81, 49%, 32%)
HSVhsv(81, 66%, 47%)
CMYKcmyk(23.1%, 0%, 66.1%, 52.5%)
CIE-LABlab(47.19, -23.26, 39.30)
CIE-LCHlch(47.19, 45.67, 120.62°)
OKLaboklab(53.68% -0.0663 0.0901)
OKLCHoklch(53.68% 0.112 126.4)
XYZxyz(11.7518, 16.1618, 4.5978)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7929 #452979
analogous
#796D29 #5D7929 #357929
triadic
#5D7929 #295D79 #79295D
tetradic
#5D7929 #29796D #452979 #792935
square
#5D7929 #29796D #452979 #792935
split-complementary
#5D7929 #293579 #6D2979
monochromatic
#171E0A #3A4B1A #5D7929 #80A738 #9FC656

Accessibility & contrast

On white

4.96
#5D7929 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5D7929 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7929
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7929#FFFFFF#000000##FFFFFF
##5D79291.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711F
Deuteranopia (green-blind)
#7B6F2F
Tritanopia (blue-blind)
#617368
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d7929;
/* rgb */ color: rgb(93, 121, 41);
/* oklch */ color: oklch(53.7% 0.112 126.4);
Tailwind
colors: {
  custom: {
    50: '#8d9f67',
    500: '#5d7929',
    950: '#000000',
  },
}
SCSS
$custom: #5d7929;
$custom-light: #8d9f67;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7929",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 41
  },
  "hsl": {
    "h": 81,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53676,
    "c": 0.11185,
    "h": 126.4
  },
  "luminance": 0.16162
}

Semantic roles & 50–950 ramp

primary
#5D7929
secondary
#7253AB
accent
#4FD97F
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5D7929

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

Preview Lab → · Contrast checker → · Palette generator →

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