#5D792D#5D792D

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

Color values

HEX#5D792D
RGBrgb(93, 121, 45)
HSLhsl(82, 46%, 33%)
HSVhsv(82, 63%, 47%)
CMYKcmyk(23.1%, 0%, 62.8%, 52.5%)
CIE-LABlab(47.22, -22.91, 37.46)
CIE-LCHlch(47.22, 43.91, 121.45°)
OKLaboklab(53.72% -0.0649 0.0867)
OKLCHoklch(53.72% 0.108 126.8)
XYZxyz(11.8252, 16.1912, 4.9843)
Luminance0.1619 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D792D #492D79
analogous
#796F2D #5D792D #37792D
triadic
#5D792D #2D5D79 #792D5D
tetradic
#5D792D #2D796F #492D79 #792D37
square
#5D792D #2D796F #492D79 #792D37
split-complementary
#5D792D #2D3779 #6F2D79
monochromatic
#18200C #3B4C1C #5D792D #7FA63E #9EC35D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D792D#FFFFFF#000000##FFFFFF
##5D792D1.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)
#7F7124
Deuteranopia (green-blind)
#7B6F32
Tritanopia (blue-blind)
#607469
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d792d;
/* rgb */ color: rgb(93, 121, 45);
/* oklch */ color: oklch(53.7% 0.108 126.8);
Tailwind
colors: {
  custom: {
    50: '#8d9f69',
    500: '#5d792d',
    950: '#000000',
  },
}
SCSS
$custom: #5d792d;
$custom-light: #8d9f69;
$custom-dark: #000000;
JSON
{
  "hex": "#5d792d",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 82.105,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53719,
    "c": 0.10835,
    "h": 126.8
  },
  "luminance": 0.16191
}

Semantic roles & 50–950 ramp

primary
#5D792D
secondary
#7658A9
accent
#52D583
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5D792D

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

Preview Lab → · Contrast checker → · Palette generator →

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