#5E842E#5E842E

#5E842E is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.6% C 0.123 H 129.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5E842E
RGBrgb(94, 132, 46)
HSLhsl(87, 48%, 35%)
HSVhsv(87, 65%, 52%)
CMYKcmyk(28.8%, 0%, 65.2%, 48.2%)
CIE-LABlab(50.78, -27.87, 40.92)
CIE-LCHlch(50.78, 49.51, 124.25°)
OKLaboklab(56.62% -0.0786 0.0942)
OKLCHoklch(56.62% 0.123 129.8)
XYZxyz(13.3604, 19.0791, 5.5630)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E842E #542E84
analogous
#847F2E #5E842E #33842E
triadic
#5E842E #2E5E84 #842E5E
tetradic
#5E842E #2E847F #542E84 #842E33
square
#5E842E #2E847F #542E84 #842E33
split-complementary
#5E842E #2E3384 #7F2E84
monochromatic
#1D290E #3E571E #5E842E #7EB13E #9CC964

Accessibility & contrast

On white

4.36
#5E842E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#5E842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E842E
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E842E#FFFFFF#000000##000000
##5E842E1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B23
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#607E72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5e842e;
/* rgb */ color: rgb(94, 132, 46);
/* oklch */ color: oklch(56.6% 0.123 129.8);
Tailwind
colors: {
  custom: {
    50: '#8ea86b',
    500: '#5e842e',
    950: '#000000',
  },
}
SCSS
$custom: #5e842e;
$custom-light: #8ea86b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e842e",
  "rgb": {
    "r": 94,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 86.512,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5662,
    "c": 0.12267,
    "h": 129.8
  },
  "luminance": 0.19079
}

Semantic roles & 50–950 ramp

primary
#5E842E
secondary
#825EB0
accent
#50D88C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F07
muted
#7D7F7A

Preview Lab

Preview with #5E842E

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

Preview Lab → · Contrast checker → · Palette generator →

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