#5E793B#5E793B

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

Color values

HEX#5E793B
RGBrgb(94, 121, 59)
HSLhsl(86, 34%, 35%)
HSVhsv(86, 51%, 47%)
CMYKcmyk(22.3%, 0%, 51.2%, 52.5%)
CIE-LABlab(47.46, -21.00, 30.64)
CIE-LCHlch(47.46, 37.15, 124.43°)
OKLaboklab(53.98% -0.0584 0.0733)
OKLCHoklch(53.98% 0.094 128.5)
XYZxyz(12.2428, 16.3700, 6.6515)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E793B #563B79
analogous
#79753B #5E793B #3F793B
triadic
#5E793B #3B5E79 #793B5E
tetradic
#5E793B #3B7975 #563B79 #793B3F
square
#5E793B #3B7975 #563B79 #793B3F
split-complementary
#5E793B #3B3F79 #753B79
monochromatic
#1E2713 #3E5027 #5E793B #7EA24F #9CBB73

Accessibility & contrast

On white

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

On black

4.27
#5E793B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5E793B#FFFFFF#000000##FFFFFF
##5E793B1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7236
Deuteranopia (green-blind)
#7A703F
Tritanopia (blue-blind)
#60746B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e793b;
/* rgb */ color: rgb(94, 121, 59);
/* oklch */ color: oklch(54.0% 0.094 128.5);
Tailwind
colors: {
  custom: {
    50: '#8d9f72',
    500: '#5e793b',
    950: '#000000',
  },
}
SCSS
$custom: #5e793b;
$custom-light: #8d9f72;
$custom-dark: #000000;
JSON
{
  "hex": "#5e793b",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 59
  },
  "hsl": {
    "h": 86.129,
    "s": 34.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.53977,
    "c": 0.09378,
    "h": 128.5
  },
  "luminance": 0.1637
}

Semantic roles & 50–950 ramp

primary
#5E793B
secondary
#846BA5
accent
#5DCB8D
background
#F8F9F7
surface
#F0F2ED
border
#CBCCC8
text
#0C0E08
muted
#7D7E7B

Preview Lab

Preview with #5E793B

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

Preview Lab → · Contrast checker → · Palette generator →

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