#5E862F#5E862F

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

Color values

HEX#5E862F
RGBrgb(94, 134, 47)
HSLhsl(88, 48%, 35%)
HSVhsv(88, 65%, 53%)
CMYKcmyk(29.9%, 0%, 64.9%, 47.5%)
CIE-LABlab(51.42, -28.74, 41.17)
CIE-LCHlch(51.42, 50.21, 124.92°)
OKLaboklab(57.14% -0.0809 0.0948)
OKLCHoklch(57.14% 0.125 130.5)
XYZxyz(13.6542, 19.6347, 5.7593)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E862F #572F86
analogous
#86822F #5E862F #33862F
triadic
#5E862F #2F5E86 #862F5E
tetradic
#5E862F #2F8682 #572F86 #862F33
square
#5E862F #2F8682 #572F86 #862F33
split-complementary
#5E862F #2F3386 #822F86
monochromatic
#1E2B0F #3E591F #5E862F #7EB33F #9CC966

Accessibility & contrast

On white

4.26
#5E862F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5E862F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E862F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E862F#FFFFFF#000000##000000
##5E862F1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C24
Deuteranopia (green-blind)
#867A36
Tritanopia (blue-blind)
#608074
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5e862f;
/* rgb */ color: rgb(94, 134, 47);
/* oklch */ color: oklch(57.1% 0.125 130.5);
Tailwind
colors: {
  custom: {
    50: '#8fa96c',
    500: '#5e862f',
    950: '#000000',
  },
}
SCSS
$custom: #5e862f;
$custom-light: #8fa96c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e862f",
  "rgb": {
    "r": 94,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 87.586,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57144,
    "c": 0.12466,
    "h": 130.5
  },
  "luminance": 0.19635
}

Semantic roles & 50–950 ramp

primary
#5E862F
secondary
#8560B0
accent
#50D88E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5E862F

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

Preview Lab → · Contrast checker → · Palette generator →

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