#5E871D#5E871D

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

Color values

HEX#5E871D
RGBrgb(94, 135, 29)
HSLhsl(83, 65%, 32%)
HSVhsv(83, 79%, 53%)
CMYKcmyk(30.4%, 0%, 78.5%, 47.1%)
CIE-LABlab(51.61, -30.52, 48.60)
CIE-LCHlch(51.61, 57.39, 122.12°)
OKLaboklab(57.25% -0.0873 0.1077)
OKLCHoklch(57.25% 0.139 129)
XYZxyz(13.5018, 19.7960, 4.2718)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E871D #461D87
analogous
#877B1D #5E871D #29871D
triadic
#5E871D #1D5E87 #871D5E
tetradic
#5E871D #1D877B #461D87 #871D29
square
#5E871D #1D877B #461D87 #871D29
split-complementary
#5E871D #1D2987 #7B1D87
monochromatic
#182207 #3B5512 #5E871D #81B928 #A0D747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E871D#FFFFFF#000000##000000
##5E871D1.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)
#8E7D03
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#618173
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5e871d;
/* rgb */ color: rgb(94, 135, 29);
/* oklch */ color: oklch(57.3% 0.139 129.0);
Tailwind
colors: {
  custom: {
    50: '#90aa62',
    500: '#5e871d',
    950: '#000000',
  },
}
SCSS
$custom: #5e871d;
$custom-light: #90aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#5e871d",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 83.208,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57251,
    "c": 0.13866,
    "h": 129
  },
  "luminance": 0.19796
}

Semantic roles & 50–950 ramp

primary
#5E871D
secondary
#7346B9
accent
#40E881
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5E871D

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

Preview Lab → · Contrast checker → · Palette generator →

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