#5E871C#5E871C

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

Color values

HEX#5E871C
RGBrgb(94, 135, 28)
HSLhsl(83, 66%, 32%)
HSVhsv(83, 79%, 53%)
CMYKcmyk(30.4%, 0%, 79.3%, 47.1%)
CIE-LABlab(51.60, -30.57, 48.93)
CIE-LCHlch(51.60, 57.70, 121.99°)
OKLaboklab(57.25% -0.0875 0.1083)
OKLCHoklch(57.25% 0.139 128.9)
XYZxyz(13.4896, 19.7911, 4.2077)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E871C #451C87
analogous
#877B1C #5E871C #28871C
triadic
#5E871C #1C5E87 #871C5E
tetradic
#5E871C #1C877B #451C87 #871C28
square
#5E871C #1C877B #451C87 #871C28
split-complementary
#5E871C #1C2887 #7B1C87
monochromatic
#172207 #3B5411 #5E871C #81BA27 #A0D845

Accessibility & contrast

On white

4.24
#5E871C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E871C#FFFFFF#000000##000000
##5E871C1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e871c;
/* rgb */ color: rgb(94, 135, 28);
/* oklch */ color: oklch(57.2% 0.139 128.9);
Tailwind
colors: {
  custom: {
    50: '#90aa62',
    500: '#5e871c',
    950: '#000000',
  },
}
SCSS
$custom: #5e871c;
$custom-light: #90aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#5e871c",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 82.991,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57245,
    "c": 0.13921,
    "h": 128.9
  },
  "luminance": 0.19791
}

Semantic roles & 50–950 ramp

primary
#5E871C
secondary
#7245BA
accent
#3FE980
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5E871C

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

Preview Lab → · Contrast checker → · Palette generator →

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