#5E841E#5E841E

#5E841E is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.5% C 0.134 H 128.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5E841E
RGBrgb(94, 132, 30)
HSLhsl(82, 63%, 32%)
HSVhsv(82, 77%, 52%)
CMYKcmyk(28.8%, 0%, 77.3%, 48.2%)
CIE-LABlab(50.66, -29.04, 47.35)
CIE-LCHlch(50.66, 55.54, 121.52°)
OKLaboklab(56.48% -0.0832 0.1053)
OKLCHoklch(56.48% 0.134 128.3)
XYZxyz(13.1017, 18.9756, 4.2004)
Luminance0.1898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E841E #441E84
analogous
#84771E #5E841E #2B841E
triadic
#5E841E #1E5E84 #841E5E
tetradic
#5E841E #1E8477 #441E84 #841E2B
square
#5E841E #1E8477 #441E84 #841E2B
split-complementary
#5E841E #1E2B84 #771E84
monochromatic
#172007 #3A5213 #5E841E #82B629 #A0D547

Accessibility & contrast

On white

4.38
#5E841E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5E841E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E841E
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E841E#FFFFFF#000000##000000
##5E841E1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A07
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#617E71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5e841e;
/* rgb */ color: rgb(94, 132, 30);
/* oklch */ color: oklch(56.5% 0.134 128.3);
Tailwind
colors: {
  custom: {
    50: '#8fa862',
    500: '#5e841e',
    950: '#000000',
  },
}
SCSS
$custom: #5e841e;
$custom-light: #8fa862;
$custom-dark: #000000;
JSON
{
  "hex": "#5e841e",
  "rgb": {
    "r": 94,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 82.353,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56483,
    "c": 0.13417,
    "h": 128.3
  },
  "luminance": 0.18976
}

Semantic roles & 50–950 ramp

primary
#5E841E
secondary
#7147B7
accent
#42E67F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5E841E

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

Preview Lab → · Contrast checker → · Palette generator →

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