#5E862E#5E862E

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

Color values

HEX#5E862E
RGBrgb(94, 134, 46)
HSLhsl(87, 49%, 35%)
HSVhsv(87, 66%, 53%)
CMYKcmyk(29.9%, 0%, 65.7%, 47.5%)
CIE-LABlab(51.41, -28.83, 41.61)
CIE-LCHlch(51.41, 50.63, 124.72°)
OKLaboklab(57.13% -0.0812 0.0956)
OKLCHoklch(57.13% 0.125 130.3)
XYZxyz(13.6342, 19.6267, 5.6542)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E862E #562E86
analogous
#86822E #5E862E #32862E
triadic
#5E862E #2E5E86 #862E5E
tetradic
#5E862E #2E8682 #562E86 #862E32
square
#5E862E #2E8682 #562E86 #862E32
split-complementary
#5E862E #2E3286 #822E86
monochromatic
#1E2B0F #3E581E #5E862E #7EB43E #9CCA64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E862E#FFFFFF#000000##000000
##5E862E1.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)
#8C7C23
Deuteranopia (green-blind)
#867A35
Tritanopia (blue-blind)
#608074
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5e862e;
/* rgb */ color: rgb(94, 134, 46);
/* oklch */ color: oklch(57.1% 0.125 130.3);
Tailwind
colors: {
  custom: {
    50: '#8fa96b',
    500: '#5e862e',
    950: '#000000',
  },
}
SCSS
$custom: #5e862e;
$custom-light: #8fa96b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e862e",
  "rgb": {
    "r": 94,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 87.273,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57134,
    "c": 0.12549,
    "h": 130.3
  },
  "luminance": 0.19627
}

Semantic roles & 50–950 ramp

primary
#5E862E
secondary
#845FB1
accent
#4FD88E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5E862E

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

Preview Lab → · Contrast checker → · Palette generator →

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