#5E871A#5E871A

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

Color values

HEX#5E871A
RGBrgb(94, 135, 26)
HSLhsl(83, 68%, 32%)
HSVhsv(83, 81%, 53%)
CMYKcmyk(30.4%, 0%, 80.7%, 47.1%)
CIE-LABlab(51.59, -30.67, 49.58)
CIE-LCHlch(51.59, 58.30, 121.75°)
OKLaboklab(57.23% -0.0879 0.1093)
OKLCHoklch(57.23% 0.14 128.8)
XYZxyz(13.4665, 19.7818, 4.0859)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E871A #431A87
analogous
#877A1A #5E871A #28871A
triadic
#5E871A #1A5E87 #871A5E
tetradic
#5E871A #1A877A #431A87 #871A28
square
#5E871A #1A877A #431A87 #871A28
split-complementary
#5E871A #1A2887 #7A1A87
monochromatic
#172006 #3A5410 #5E871A #82BA24 #A1DA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E871A#FFFFFF#000000##000000
##5E871A1.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: #5e871a;
/* rgb */ color: rgb(94, 135, 26);
/* oklch */ color: oklch(57.2% 0.140 128.8);
Tailwind
colors: {
  custom: {
    50: '#90aa61',
    500: '#5e871a',
    950: '#000000',
  },
}
SCSS
$custom: #5e871a;
$custom-light: #90aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#5e871a",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 82.569,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57233,
    "c": 0.14027,
    "h": 128.8
  },
  "luminance": 0.19782
}

Semantic roles & 50–950 ramp

primary
#5E871A
secondary
#7042BA
accent
#3DEB7E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5E871A

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

Preview Lab → · Contrast checker → · Palette generator →

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