#5E793C#5E793C

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

Color values

HEX#5E793C
RGBrgb(94, 121, 60)
HSLhsl(87, 34%, 35%)
HSVhsv(87, 50%, 47%)
CMYKcmyk(22.3%, 0%, 50.4%, 52.5%)
CIE-LABlab(47.47, -20.88, 30.12)
CIE-LCHlch(47.47, 36.65, 124.73°)
OKLaboklab(53.99% -0.058 0.0723)
OKLCHoklch(53.99% 0.093 128.8)
XYZxyz(12.2690, 16.3805, 6.7894)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E793C #573C79
analogous
#79753C #5E793C #3F793C
triadic
#5E793C #3C5E79 #793C5E
tetradic
#5E793C #3C7975 #573C79 #793C3F
square
#5E793C #3C7975 #573C79 #793C3F
split-complementary
#5E793C #3C3F79 #753C79
monochromatic
#1E2713 #3E5028 #5E793C #7EA250 #9CBB75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E793C#FFFFFF#000000##FFFFFF
##5E793C1.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)
#7E7237
Deuteranopia (green-blind)
#7A7040
Tritanopia (blue-blind)
#60746B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e793c;
/* rgb */ color: rgb(94, 121, 60);
/* oklch */ color: oklch(54.0% 0.093 128.8);
Tailwind
colors: {
  custom: {
    50: '#8d9f73',
    500: '#5e793c',
    950: '#000000',
  },
}
SCSS
$custom: #5e793c;
$custom-light: #8d9f73;
$custom-dark: #000000;
JSON
{
  "hex": "#5e793c",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 60
  },
  "hsl": {
    "h": 86.557,
    "s": 33.702,
    "l": 35.49
  },
  "oklch": {
    "l": 0.53992,
    "c": 0.09267,
    "h": 128.8
  },
  "luminance": 0.16381
}

Semantic roles & 50–950 ramp

primary
#5E793C
secondary
#856CA4
accent
#5ECA8E
background
#F8F9F7
surface
#F0F2ED
border
#CBCCC8
text
#0C0E08
muted
#7D7E7B

Preview Lab

Preview with #5E793C

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

Preview Lab → · Contrast checker → · Palette generator →

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