#5E861B#5E861B

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

Color values

HEX#5E861B
RGBrgb(94, 134, 27)
HSLhsl(82, 66%, 32%)
HSVhsv(82, 80%, 53%)
CMYKcmyk(29.9%, 0%, 79.9%, 47.5%)
CIE-LABlab(51.28, -30.15, 48.96)
CIE-LCHlch(51.28, 57.50, 121.63°)
OKLaboklab(56.98% -0.0864 0.1082)
OKLCHoklch(56.98% 0.138 128.6)
XYZxyz(13.3390, 19.5087, 4.0995)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E861B #431B86
analogous
#86791B #5E861B #29861B
triadic
#5E861B #1B5E86 #861B5E
tetradic
#5E861B #1B8679 #431B86 #861B29
square
#5E861B #1B8679 #431B86 #861B29
split-complementary
#5E861B #1B2986 #791B86
monochromatic
#172006 #3A5311 #5E861B #82B925 #A1D942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E861B#FFFFFF#000000##000000
##5E861B1.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)
#8D7C00
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#618072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5e861b;
/* rgb */ color: rgb(94, 134, 27);
/* oklch */ color: oklch(57.0% 0.138 128.6);
Tailwind
colors: {
  custom: {
    50: '#90a961',
    500: '#5e861b',
    950: '#000000',
  },
}
SCSS
$custom: #5e861b;
$custom-light: #90a961;
$custom-dark: #000000;
JSON
{
  "hex": "#5e861b",
  "rgb": {
    "r": 94,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 82.43,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5698,
    "c": 0.13846,
    "h": 128.6
  },
  "luminance": 0.19509
}

Semantic roles & 50–950 ramp

primary
#5E861B
secondary
#7044B9
accent
#3EE97E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5E861B

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

Preview Lab → · Contrast checker → · Palette generator →

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