#5E871F#5E871F

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

Color values

HEX#5E871F
RGBrgb(94, 135, 31)
HSLhsl(84, 63%, 33%)
HSVhsv(84, 77%, 53%)
CMYKcmyk(30.4%, 0%, 77%, 47.1%)
CIE-LABlab(51.62, -30.40, 47.92)
CIE-LCHlch(51.62, 56.75, 122.39°)
OKLaboklab(57.27% -0.0868 0.1066)
OKLCHoklch(57.27% 0.138 129.2)
XYZxyz(13.5274, 19.8062, 4.4063)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E871F #481F87
analogous
#877C1F #5E871F #2A871F
triadic
#5E871F #1F5E87 #871F5E
tetradic
#5E871F #1F877C #481F87 #871F2A
square
#5E871F #1F877C #481F87 #871F2A
split-complementary
#5E871F #1F2A87 #7C1F87
monochromatic
#192308 #3B5514 #5E871F #81B92A #9FD64B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E871F#FFFFFF#000000##000000
##5E871F1.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)
#8E7D08
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#618173
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5e871f;
/* rgb */ color: rgb(94, 135, 31);
/* oklch */ color: oklch(57.3% 0.138 129.2);
Tailwind
colors: {
  custom: {
    50: '#8faa63',
    500: '#5e871f',
    950: '#000000',
  },
}
SCSS
$custom: #5e871f;
$custom-light: #8faa63;
$custom-dark: #000000;
JSON
{
  "hex": "#5e871f",
  "rgb": {
    "r": 94,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 83.654,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57265,
    "c": 0.1375,
    "h": 129.2
  },
  "luminance": 0.19807
}

Semantic roles & 50–950 ramp

primary
#5E871F
secondary
#754AB8
accent
#42E683
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E871F

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

Preview Lab → · Contrast checker → · Palette generator →

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