#5E862B#5E862B

#5E862B is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 57.1% C 0.128 H 130.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5E862B
RGBrgb(94, 134, 43)
HSLhsl(86, 51%, 35%)
HSVhsv(86, 68%, 53%)
CMYKcmyk(29.9%, 0%, 67.9%, 47.5%)
CIE-LABlab(51.39, -29.09, 42.91)
CIE-LCHlch(51.39, 51.84, 124.13°)
OKLaboklab(57.1% -0.0822 0.098)
OKLCHoklch(57.1% 0.128 130)
XYZxyz(13.5771, 19.6039, 5.3536)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E862B #532B86
analogous
#86812B #5E862B #30862B
triadic
#5E862B #2B5E86 #862B5E
tetradic
#5E862B #2B8681 #532B86 #862B30
square
#5E862B #2B8681 #532B86 #862B30
split-complementary
#5E862B #2B3086 #812B86
monochromatic
#1D290D #3D581C #5E862B #7FB43A #9CCC60

Accessibility & contrast

On white

4.27
#5E862B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5E862B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E862B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E862B#FFFFFF#000000##000000
##5E862B1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1F
Deuteranopia (green-blind)
#877932
Tritanopia (blue-blind)
#608073
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5e862b;
/* rgb */ color: rgb(94, 134, 43);
/* oklch */ color: oklch(57.1% 0.128 130.0);
Tailwind
colors: {
  custom: {
    50: '#8fa969',
    500: '#5e862b',
    950: '#000000',
  },
}
SCSS
$custom: #5e862b;
$custom-light: #8fa969;
$custom-dark: #000000;
JSON
{
  "hex": "#5e862b",
  "rgb": {
    "r": 94,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 86.374,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57104,
    "c": 0.12789,
    "h": 130
  },
  "luminance": 0.19604
}

Semantic roles & 50–950 ramp

primary
#5E862B
secondary
#815BB2
accent
#4DDB8B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5E862B

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

Preview Lab → · Contrast checker → · Palette generator →

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