#5E862D#5E862D

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

Color values

HEX#5E862D
RGBrgb(94, 134, 45)
HSLhsl(87, 50%, 35%)
HSVhsv(87, 66%, 53%)
CMYKcmyk(29.9%, 0%, 66.4%, 47.5%)
CIE-LABlab(51.40, -28.92, 42.05)
CIE-LCHlch(51.40, 51.04, 124.52°)
OKLaboklab(57.12% -0.0816 0.0964)
OKLCHoklch(57.12% 0.126 130.2)
XYZxyz(13.6147, 19.6190, 5.5516)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E862D #552D86
analogous
#86812D #5E862D #32862D
triadic
#5E862D #2D5E86 #862D5E
tetradic
#5E862D #2D8681 #552D86 #862D32
square
#5E862D #2D8681 #552D86 #862D32
split-complementary
#5E862D #2D3286 #812D86
monochromatic
#1E2A0E #3E581E #5E862D #7EB43C #9CCB63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E862D#FFFFFF#000000##000000
##5E862D1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C22
Deuteranopia (green-blind)
#867A34
Tritanopia (blue-blind)
#608074
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5e862d;
/* rgb */ color: rgb(94, 134, 45);
/* oklch */ color: oklch(57.1% 0.126 130.2);
Tailwind
colors: {
  custom: {
    50: '#8fa96a',
    500: '#5e862d',
    950: '#000000',
  },
}
SCSS
$custom: #5e862d;
$custom-light: #8fa96a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e862d",
  "rgb": {
    "r": 94,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 86.966,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57124,
    "c": 0.1263,
    "h": 130.2
  },
  "luminance": 0.19619
}

Semantic roles & 50–950 ramp

primary
#5E862D
secondary
#835EB1
accent
#4FD98D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5E862D

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

Preview Lab → · Contrast checker → · Palette generator →

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