#5E861C#5E861C

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

Color values

HEX#5E861C
RGBrgb(94, 134, 28)
HSLhsl(83, 65%, 32%)
HSVhsv(83, 79%, 53%)
CMYKcmyk(29.9%, 0%, 79.1%, 47.5%)
CIE-LABlab(51.28, -30.10, 48.64)
CIE-LCHlch(51.28, 57.20, 121.75°)
OKLaboklab(56.99% -0.0862 0.1076)
OKLCHoklch(56.99% 0.138 128.7)
XYZxyz(13.3508, 19.5134, 4.1614)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E861C #441C86
analogous
#86791C #5E861C #29861C
triadic
#5E861C #1C5E86 #861C5E
tetradic
#5E861C #1C8679 #441C86 #861C29
square
#5E861C #1C8679 #441C86 #861C29
split-complementary
#5E861C #1C2986 #791C86
monochromatic
#172107 #3A5311 #5E861C #82B927 #A0D844

Accessibility & contrast

On white

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

On black

4.90
#5E861C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E861C
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E861C#FFFFFF#000000##000000
##5E861C1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e861c;
/* rgb */ color: rgb(94, 134, 28);
/* oklch */ color: oklch(57.0% 0.138 128.7);
Tailwind
colors: {
  custom: {
    50: '#8fa961',
    500: '#5e861c',
    950: '#000000',
  },
}
SCSS
$custom: #5e861c;
$custom-light: #8fa961;
$custom-dark: #000000;
JSON
{
  "hex": "#5e861c",
  "rgb": {
    "r": 94,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 82.642,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56987,
    "c": 0.13791,
    "h": 128.7
  },
  "luminance": 0.19514
}

Semantic roles & 50–950 ramp

primary
#5E861C
secondary
#7145B9
accent
#3FE87F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5E861C

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

Preview Lab → · Contrast checker → · Palette generator →

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