#5D792B#5D792B

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

Color values

HEX#5D792B
RGBrgb(93, 121, 43)
HSLhsl(82, 48%, 32%)
HSVhsv(82, 64%, 47%)
CMYKcmyk(23.1%, 0%, 64.5%, 52.5%)
CIE-LABlab(47.20, -23.09, 38.39)
CIE-LCHlch(47.20, 44.80, 121.03°)
OKLaboklab(53.7% -0.0656 0.0884)
OKLCHoklch(53.7% 0.11 126.6)
XYZxyz(11.7876, 16.1761, 4.7863)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D792B #472B79
analogous
#796E2B #5D792B #36792B
triadic
#5D792B #2B5D79 #792B5D
tetradic
#5D792B #2B796E #472B79 #792B36
square
#5D792B #2B796E #472B79 #792B36
split-complementary
#5D792B #2B3679 #6E2B79
monochromatic
#181F0B #3A4C1B #5D792B #80A63B #9EC45A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D792B#FFFFFF#000000##FFFFFF
##5D792B1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7122
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#617369
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d792b;
/* rgb */ color: rgb(93, 121, 43);
/* oklch */ color: oklch(53.7% 0.110 126.6);
Tailwind
colors: {
  custom: {
    50: '#8d9f68',
    500: '#5d792b',
    950: '#000000',
  },
}
SCSS
$custom: #5d792b;
$custom-light: #8d9f68;
$custom-dark: #000000;
JSON
{
  "hex": "#5d792b",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 81.538,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53697,
    "c": 0.11014,
    "h": 126.6
  },
  "luminance": 0.16176
}

Semantic roles & 50–950 ramp

primary
#5D792B
secondary
#7456AA
accent
#51D781
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5D792B

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

Preview Lab → · Contrast checker → · Palette generator →

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