#5D792A#5D792A

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

Color values

HEX#5D792A
RGBrgb(93, 121, 42)
HSLhsl(81, 48%, 32%)
HSVhsv(81, 65%, 47%)
CMYKcmyk(23.1%, 0%, 65.3%, 52.5%)
CIE-LABlab(47.20, -23.18, 38.84)
CIE-LCHlch(47.20, 45.23, 120.82°)
OKLaboklab(53.69% -0.066 0.0893)
OKLCHoklch(53.69% 0.111 126.5)
XYZxyz(11.7695, 16.1689, 4.6909)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D792A #462A79
analogous
#796E2A #5D792A #36792A
triadic
#5D792A #2A5D79 #792A5D
tetradic
#5D792A #2A796E #462A79 #792A36
square
#5D792A #2A796E #462A79 #792A36
split-complementary
#5D792A #2A3679 #6E2A79
monochromatic
#171E0A #3A4C1A #5D792A #80A63A #9FC558

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D792A#FFFFFF#000000##FFFFFF
##5D792A1.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)
#7F7120
Deuteranopia (green-blind)
#7B6F30
Tritanopia (blue-blind)
#617368
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d792a;
/* rgb */ color: rgb(93, 121, 42);
/* oklch */ color: oklch(53.7% 0.111 126.5);
Tailwind
colors: {
  custom: {
    50: '#8d9f67',
    500: '#5d792a',
    950: '#000000',
  },
}
SCSS
$custom: #5d792a;
$custom-light: #8d9f67;
$custom-dark: #000000;
JSON
{
  "hex": "#5d792a",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 81.266,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53686,
    "c": 0.111,
    "h": 126.5
  },
  "luminance": 0.16169
}

Semantic roles & 50–950 ramp

primary
#5D792A
secondary
#7354AB
accent
#50D880
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5D792A

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

Preview Lab → · Contrast checker → · Palette generator →

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