#5F862E#5F862E

#5F862E is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.2% C 0.125 H 129.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5F862E
RGBrgb(95, 134, 46)
HSLhsl(87, 49%, 35%)
HSVhsv(87, 66%, 53%)
CMYKcmyk(29.1%, 0%, 65.7%, 47.5%)
CIE-LABlab(51.47, -28.44, 41.70)
CIE-LCHlch(51.47, 50.47, 124.29°)
OKLaboklab(57.2% -0.0802 0.0958)
OKLCHoklch(57.2% 0.125 129.9)
XYZxyz(13.7375, 19.6800, 5.6591)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F862E #552E86
analogous
#86812E #5F862E #33862E
triadic
#5F862E #2E5F86 #862E5F
tetradic
#5F862E #2E8681 #552E86 #862E33
square
#5F862E #2E8681 #552E86 #862E33
split-complementary
#5F862E #2E3386 #812E86
monochromatic
#1E2B0F #3F581E #5F862E #7FB43E #9DCA64

Accessibility & contrast

On white

4.25
#5F862E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5F862E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F862E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F862E#FFFFFF#000000##000000
##5F862E1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C23
Deuteranopia (green-blind)
#877A35
Tritanopia (blue-blind)
#618074
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f862e;
/* rgb */ color: rgb(95, 134, 46);
/* oklch */ color: oklch(57.2% 0.125 129.9);
Tailwind
colors: {
  custom: {
    50: '#8fa96b',
    500: '#5f862e',
    950: '#000000',
  },
}
SCSS
$custom: #5f862e;
$custom-light: #8fa96b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f862e",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 86.591,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57199,
    "c": 0.12495,
    "h": 129.9
  },
  "luminance": 0.1968
}

Semantic roles & 50–950 ramp

primary
#5F862E
secondary
#835FB1
accent
#4FD88C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5F862E

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

Preview Lab → · Contrast checker → · Palette generator →

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