#5E871B#5E871B

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

Color values

HEX#5E871B
RGBrgb(94, 135, 27)
HSLhsl(83, 67%, 32%)
HSVhsv(83, 80%, 53%)
CMYKcmyk(30.4%, 0%, 80%, 47.1%)
CIE-LABlab(51.59, -30.62, 49.26)
CIE-LCHlch(51.59, 58.00, 121.87°)
OKLaboklab(57.24% -0.0877 0.1088)
OKLCHoklch(57.24% 0.14 128.9)
XYZxyz(13.4779, 19.7864, 4.1457)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E871B #441B87
analogous
#877A1B #5E871B #28871B
triadic
#5E871B #1B5E87 #871B5E
tetradic
#5E871B #1B877A #441B87 #871B28
square
#5E871B #1B877A #441B87 #871B28
split-complementary
#5E871B #1B2887 #7A1B87
monochromatic
#172107 #3A5411 #5E871B #82BA25 #A0D943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E871B#FFFFFF#000000##000000
##5E871B1.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)
#887A26
Tritanopia (blue-blind)
#618173
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5e871b;
/* rgb */ color: rgb(94, 135, 27);
/* oklch */ color: oklch(57.2% 0.140 128.9);
Tailwind
colors: {
  custom: {
    50: '#90aa61',
    500: '#5e871b',
    950: '#000000',
  },
}
SCSS
$custom: #5e871b;
$custom-light: #90aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#5e871b",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 82.778,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57239,
    "c": 0.13975,
    "h": 128.9
  },
  "luminance": 0.19787
}

Semantic roles & 50–950 ramp

primary
#5E871B
secondary
#7144BA
accent
#3EEA7F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5E871B

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

Preview Lab → · Contrast checker → · Palette generator →

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