#5E861F#5E861F

#5E861F is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.0% C 0.136 H 128.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5E861F
RGBrgb(94, 134, 31)
HSLhsl(83, 62%, 32%)
HSVhsv(83, 77%, 53%)
CMYKcmyk(29.9%, 0%, 76.9%, 47.5%)
CIE-LABlab(51.30, -29.93, 47.61)
CIE-LCHlch(51.30, 56.24, 122.15°)
OKLaboklab(57.01% -0.0855 0.106)
OKLCHoklch(57.01% 0.136 128.9)
XYZxyz(13.3885, 19.5284, 4.3600)
Luminance0.1953 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E861F #471F86
analogous
#867B1F #5E861F #2B861F
triadic
#5E861F #1F5E86 #861F5E
tetradic
#5E861F #1F867B #471F86 #861F2B
square
#5E861F #1F867B #471F86 #861F2B
split-complementary
#5E861F #1F2B86 #7B1F86
monochromatic
#182308 #3B5414 #5E861F #81B82A #9FD54A

Accessibility & contrast

On white

4.28
#5E861F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5E861F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E861F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E861F#FFFFFF#000000##000000
##5E861F1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C08
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#618072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5e861f;
/* rgb */ color: rgb(94, 134, 31);
/* oklch */ color: oklch(57.0% 0.136 128.9);
Tailwind
colors: {
  custom: {
    50: '#8fa963',
    500: '#5e861f',
    950: '#000000',
  },
}
SCSS
$custom: #5e861f;
$custom-light: #8fa963;
$custom-dark: #000000;
JSON
{
  "hex": "#5e861f",
  "rgb": {
    "r": 94,
    "g": 134,
    "b": 31
  },
  "hsl": {
    "h": 83.301,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57006,
    "c": 0.13619,
    "h": 128.9
  },
  "luminance": 0.19529
}

Semantic roles & 50–950 ramp

primary
#5E861F
secondary
#7449B8
accent
#42E582
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E861F

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

Preview Lab → · Contrast checker → · Palette generator →

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