#5E793E#5E793E

#5E793E is a mid, moderate yellow-green. Relative luminance 0.164; OKLCH L 54.0% C 0.090 H 129.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5E793E
RGBrgb(94, 121, 62)
HSLhsl(87, 32%, 36%)
HSVhsv(87, 49%, 47%)
CMYKcmyk(22.3%, 0%, 48.8%, 52.5%)
CIE-LABlab(47.50, -20.63, 29.08)
CIE-LCHlch(47.50, 35.66, 125.36°)
OKLaboklab(54.02% -0.0572 0.0701)
OKLCHoklch(54.02% 0.09 129.2)
XYZxyz(12.3228, 16.4020, 7.0732)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E793E #593E79
analogous
#79763E #5E793E #40793E
triadic
#5E793E #3E5E79 #793E5E
tetradic
#5E793E #3E7976 #593E79 #793E40
square
#5E793E #3E7976 #593E79 #793E40
split-complementary
#5E793E #3E4079 #763E79
monochromatic
#1F2815 #3F5129 #5E793E #7DA153 #9BBA78

Accessibility & contrast

On white

4.91
#5E793E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5E793E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E793E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E793E#FFFFFF#000000##FFFFFF
##5E793E1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7239
Deuteranopia (green-blind)
#7A7041
Tritanopia (blue-blind)
#60756B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e793e;
/* rgb */ color: rgb(94, 121, 62);
/* oklch */ color: oklch(54.0% 0.090 129.2);
Tailwind
colors: {
  custom: {
    50: '#8d9f74',
    500: '#5e793e',
    950: '#000000',
  },
}
SCSS
$custom: #5e793e;
$custom-light: #8d9f74;
$custom-dark: #000000;
JSON
{
  "hex": "#5e793e",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 62
  },
  "hsl": {
    "h": 87.458,
    "s": 32.24,
    "l": 35.882
  },
  "oklch": {
    "l": 0.54024,
    "c": 0.09046,
    "h": 129.2
  },
  "luminance": 0.16402
}

Semantic roles & 50–950 ramp

primary
#5E793E
secondary
#876FA4
accent
#5FC88F
background
#F8F9F7
surface
#F0F2ED
border
#CBCCC8
text
#0C0E08
muted
#7D7E7B

Preview Lab

Preview with #5E793E

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

Preview Lab → · Contrast checker → · Palette generator →

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