#5E8A42#5E8A42

#5E8A42 is a mid, moderate yellow-green. Relative luminance 0.209; OKLCH L 58.4% C 0.113 H 134.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5E8A42
RGBrgb(94, 138, 66)
HSLhsl(97, 35%, 40%)
HSVhsv(97, 52%, 54%)
CMYKcmyk(31.9%, 0%, 52.2%, 45.9%)
CIE-LABlab(52.89, -28.65, 33.56)
CIE-LCHlch(52.89, 44.13, 130.48°)
OKLaboklab(58.41% -0.0791 0.0803)
OKLCHoklch(58.41% 0.113 134.6)
XYZxyz(14.6876, 20.9495, 8.4230)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8A42 #6E428A
analogous
#828A42 #5E8A42 #428A4A
triadic
#5E8A42 #425E8A #8A425E
tetradic
#5E8A42 #42828A #6E428A #8A4A42
square
#5E8A42 #42828A #6E428A #8A4A42
split-complementary
#5E8A42 #4A428A #8A4282
monochromatic
#26371A #42612E #5E8A42 #7BB059 #9CC483

Accessibility & contrast

On white

4.05
#5E8A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5E8A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8A42
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8A42#FFFFFF#000000##000000
##5E8A421.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813C
Deuteranopia (green-blind)
#887D47
Tritanopia (blue-blind)
#5E8579
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e8a42;
/* rgb */ color: rgb(94, 138, 66);
/* oklch */ color: oklch(58.4% 0.113 134.6);
Tailwind
colors: {
  custom: {
    50: '#8eac78',
    500: '#5e8a42',
    950: '#000000',
  },
}
SCSS
$custom: #5e8a42;
$custom-light: #8eac78;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8a42",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 96.667,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.58408,
    "c": 0.11273,
    "h": 134.6
  },
  "luminance": 0.2095
}

Semantic roles & 50–950 ramp

primary
#5E8A42
secondary
#9A79AE
accent
#5CCBA0
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1009
muted
#7D7F7B

Preview Lab

Preview with #5E8A42

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

Preview Lab → · Contrast checker → · Palette generator →

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