#5E793A#5E793A

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

Color values

HEX#5E793A
RGBrgb(94, 121, 58)
HSLhsl(86, 35%, 35%)
HSVhsv(86, 52%, 47%)
CMYKcmyk(22.3%, 0%, 52.1%, 52.5%)
CIE-LABlab(47.44, -21.12, 31.15)
CIE-LCHlch(47.44, 37.64, 124.14°)
OKLaboklab(53.96% -0.0588 0.0744)
OKLCHoklch(53.96% 0.095 128.3)
XYZxyz(12.2171, 16.3597, 6.5163)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E793A #553A79
analogous
#79743A #5E793A #3E793A
triadic
#5E793A #3A5E79 #793A5E
tetradic
#5E793A #3A7974 #553A79 #793A3E
square
#5E793A #3A7974 #553A79 #793A3E
split-complementary
#5E793A #3A3E79 #743A79
monochromatic
#1E2612 #3E5026 #5E793A #7EA24E #9CBB72

Accessibility & contrast

On white

4.92
#5E793A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E793A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E793A#FFFFFF#000000##FFFFFF
##5E793A1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7234
Deuteranopia (green-blind)
#7A703E
Tritanopia (blue-blind)
#61746B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e793a;
/* rgb */ color: rgb(94, 121, 58);
/* oklch */ color: oklch(54.0% 0.095 128.3);
Tailwind
colors: {
  custom: {
    50: '#8d9f72',
    500: '#5e793a',
    950: '#000000',
  },
}
SCSS
$custom: #5e793a;
$custom-light: #8d9f72;
$custom-dark: #000000;
JSON
{
  "hex": "#5e793a",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 58
  },
  "hsl": {
    "h": 85.714,
    "s": 35.196,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53962,
    "c": 0.09485,
    "h": 128.3
  },
  "luminance": 0.1636
}

Semantic roles & 50–950 ramp

primary
#5E793A
secondary
#836AA5
accent
#5DCB8C
background
#F8F9F6
surface
#F0F2EC
border
#CBCCC7
text
#0C0E08
muted
#7D7E7B

Preview Lab

Preview with #5E793A

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

Preview Lab → · Contrast checker → · Palette generator →

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