#5D792E#5D792E

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

Color values

HEX#5D792E
RGBrgb(93, 121, 46)
HSLhsl(82, 45%, 33%)
HSVhsv(82, 62%, 47%)
CMYKcmyk(23.1%, 0%, 62%, 52.5%)
CIE-LABlab(47.23, -22.82, 36.99)
CIE-LCHlch(47.23, 43.46, 121.67°)
OKLaboklab(53.73% -0.0646 0.0859)
OKLCHoklch(53.73% 0.107 127)
XYZxyz(11.8447, 16.1990, 5.0869)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D792E #4A2E79
analogous
#796F2E #5D792E #37792E
triadic
#5D792E #2E5D79 #792E5D
tetradic
#5D792E #2E796F #4A2E79 #792E37
square
#5D792E #2E796F #4A2E79 #792E37
split-complementary
#5D792E #2E3779 #6F2E79
monochromatic
#19200C #3B4D1D #5D792E #7FA53F #9DC25F

Accessibility & contrast

On white

4.95
#5D792E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5D792E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D792E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D792E#FFFFFF#000000##FFFFFF
##5D792E1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7126
Deuteranopia (green-blind)
#7B7033
Tritanopia (blue-blind)
#607469
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d792e;
/* rgb */ color: rgb(93, 121, 46);
/* oklch */ color: oklch(53.7% 0.107 127.0);
Tailwind
colors: {
  custom: {
    50: '#8d9f6a',
    500: '#5d792e',
    950: '#000000',
  },
}
SCSS
$custom: #5d792e;
$custom-light: #8d9f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d792e",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 82.4,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53731,
    "c": 0.10743,
    "h": 127
  },
  "luminance": 0.16199
}

Semantic roles & 50–950 ramp

primary
#5D792E
secondary
#775AA9
accent
#53D584
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5D792E

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

Preview Lab → · Contrast checker → · Palette generator →

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