#5E793F#5E793F

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

Color values

HEX#5E793F
RGBrgb(94, 121, 63)
HSLhsl(88, 32%, 36%)
HSVhsv(88, 48%, 47%)
CMYKcmyk(22.3%, 0%, 47.9%, 52.5%)
CIE-LABlab(47.51, -20.51, 28.56)
CIE-LCHlch(47.51, 35.16, 125.68°)
OKLaboklab(54.04% -0.0567 0.069)
OKLCHoklch(54.04% 0.089 129.4)
XYZxyz(12.3505, 16.4131, 7.2190)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E793F #5A3F79
analogous
#79773F #5E793F #41793F
triadic
#5E793F #3F5E79 #793F5E
tetradic
#5E793F #3F7977 #5A3F79 #793F41
square
#5E793F #3F7977 #5A3F79 #793F41
split-complementary
#5E793F #3F4179 #773F79
monochromatic
#1F2915 #3F512A #5E793F #7DA154 #9BB979

Accessibility & contrast

On white

4.90
#5E793F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E793F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E793F#FFFFFF#000000##FFFFFF
##5E793F1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e793f;
/* rgb */ color: rgb(94, 121, 63);
/* oklch */ color: oklch(54.0% 0.089 129.4);
Tailwind
colors: {
  custom: {
    50: '#8d9f75',
    500: '#5e793f',
    950: '#000000',
  },
}
SCSS
$custom: #5e793f;
$custom-light: #8d9f75;
$custom-dark: #000000;
JSON
{
  "hex": "#5e793f",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 63
  },
  "hsl": {
    "h": 87.931,
    "s": 31.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5404,
    "c": 0.08932,
    "h": 129.4
  },
  "luminance": 0.16413
}

Semantic roles & 50–950 ramp

primary
#5E793F
secondary
#8870A4
accent
#60C890
background
#F8F9F7
surface
#F0F2ED
border
#CBCCC8
text
#0C0E08
muted
#7D7E7B

Preview Lab

Preview with #5E793F

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

Preview Lab → · Contrast checker → · Palette generator →

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