#5E871E#5E871E

#5E871E is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.3% C 0.138 H 129.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5E871E
RGBrgb(94, 135, 30)
HSLhsl(83, 64%, 32%)
HSVhsv(83, 78%, 53%)
CMYKcmyk(30.4%, 0%, 77.8%, 47.1%)
CIE-LABlab(51.61, -30.46, 48.26)
CIE-LCHlch(51.61, 57.07, 122.26°)
OKLaboklab(57.26% -0.0871 0.1072)
OKLCHoklch(57.26% 0.138 129.1)
XYZxyz(13.5144, 19.8010, 4.3380)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E871E #471E87
analogous
#877C1E #5E871E #29871E
triadic
#5E871E #1E5E87 #871E5E
tetradic
#5E871E #1E877C #471E87 #871E29
square
#5E871E #1E877C #471E87 #871E29
split-complementary
#5E871E #1E2987 #7C1E87
monochromatic
#182308 #3B5513 #5E871E #81B929 #9FD749

Accessibility & contrast

On white

4.23
#5E871E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5E871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E871E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E871E#FFFFFF#000000##000000
##5E871E1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D05
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#618173
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5e871e;
/* rgb */ color: rgb(94, 135, 30);
/* oklch */ color: oklch(57.3% 0.138 129.1);
Tailwind
colors: {
  custom: {
    50: '#8faa63',
    500: '#5e871e',
    950: '#000000',
  },
}
SCSS
$custom: #5e871e;
$custom-light: #8faa63;
$custom-dark: #000000;
JSON
{
  "hex": "#5e871e",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 83.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57258,
    "c": 0.13808,
    "h": 129.1
  },
  "luminance": 0.19801
}

Semantic roles & 50–950 ramp

primary
#5E871E
secondary
#7448B9
accent
#41E782
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E871E

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

Preview Lab → · Contrast checker → · Palette generator →

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