#5E793D#5E793D

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

Color values

HEX#5E793D
RGBrgb(94, 121, 61)
HSLhsl(87, 33%, 36%)
HSVhsv(87, 50%, 47%)
CMYKcmyk(22.3%, 0%, 49.6%, 52.5%)
CIE-LABlab(47.48, -20.76, 29.60)
CIE-LCHlch(47.48, 36.16, 125.04°)
OKLaboklab(54.01% -0.0576 0.0712)
OKLCHoklch(54.01% 0.092 129)
XYZxyz(12.2957, 16.3911, 6.9300)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E793D #583D79
analogous
#79763D #5E793D #40793D
triadic
#5E793D #3D5E79 #793D5E
tetradic
#5E793D #3D7976 #583D79 #793D40
square
#5E793D #3D7976 #583D79 #793D40
split-complementary
#5E793D #3D4079 #763D79
monochromatic
#1F2814 #3E5028 #5E793D #7EA252 #9CBA76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E793D#FFFFFF#000000##FFFFFF
##5E793D1.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)
#7E7238
Deuteranopia (green-blind)
#7A7041
Tritanopia (blue-blind)
#60746B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e793d;
/* rgb */ color: rgb(94, 121, 61);
/* oklch */ color: oklch(54.0% 0.092 129.0);
Tailwind
colors: {
  custom: {
    50: '#8d9f74',
    500: '#5e793d',
    950: '#000000',
  },
}
SCSS
$custom: #5e793d;
$custom-light: #8d9f74;
$custom-dark: #000000;
JSON
{
  "hex": "#5e793d",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 61
  },
  "hsl": {
    "h": 87,
    "s": 32.967,
    "l": 35.686
  },
  "oklch": {
    "l": 0.54008,
    "c": 0.09157,
    "h": 129
  },
  "luminance": 0.16391
}

Semantic roles & 50–950 ramp

primary
#5E793D
secondary
#866EA4
accent
#5FC98F
background
#F8F9F7
surface
#F0F2ED
border
#CBCCC8
text
#0C0E08
muted
#7D7E7B

Preview Lab

Preview with #5E793D

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

Preview Lab → · Contrast checker → · Palette generator →

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