#5E881F#5E881F

#5E881F is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.5% C 0.139 H 129.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5E881F
RGBrgb(94, 136, 31)
HSLhsl(84, 63%, 33%)
HSVhsv(84, 77%, 53%)
CMYKcmyk(30.9%, 0%, 77.2%, 46.7%)
CIE-LABlab(51.93, -30.87, 48.22)
CIE-LCHlch(51.93, 57.26, 122.63°)
OKLaboklab(57.52% -0.0881 0.1073)
OKLCHoklch(57.52% 0.139 129.4)
XYZxyz(13.6675, 20.0865, 4.4530)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E881F #491F88
analogous
#887D1F #5E881F #2A881F
triadic
#5E881F #1F5E88 #881F5E
tetradic
#5E881F #1F887D #491F88 #881F2A
square
#5E881F #1F887D #491F88 #881F2A
split-complementary
#5E881F #1F2A88 #7D1F88
monochromatic
#192408 #3C5614 #5E881F #80BA2A #9FD64B

Accessibility & contrast

On white

4.19
#5E881F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5E881F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E881F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E881F#FFFFFF#000000##000000
##5E881F1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E07
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#618274
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e881f;
/* rgb */ color: rgb(94, 136, 31);
/* oklch */ color: oklch(57.5% 0.139 129.4);
Tailwind
colors: {
  custom: {
    50: '#8fab63',
    500: '#5e881f',
    950: '#000000',
  },
}
SCSS
$custom: #5e881f;
$custom-light: #8fab63;
$custom-dark: #000000;
JSON
{
  "hex": "#5e881f",
  "rgb": {
    "r": 94,
    "g": 136,
    "b": 31
  },
  "hsl": {
    "h": 84,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57523,
    "c": 0.1388,
    "h": 129.4
  },
  "luminance": 0.20087
}

Semantic roles & 50–950 ramp

primary
#5E881F
secondary
#764AB9
accent
#42E683
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E881F

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

Preview Lab → · Contrast checker → · Palette generator →

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