#5F862A#5F862A

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

Color values

HEX#5F862A
RGBrgb(95, 134, 42)
HSLhsl(85, 52%, 35%)
HSVhsv(85, 69%, 53%)
CMYKcmyk(29.1%, 0%, 68.7%, 47.5%)
CIE-LABlab(51.44, -28.77, 43.42)
CIE-LCHlch(51.44, 52.09, 123.53°)
OKLaboklab(57.16% -0.0815 0.0989)
OKLCHoklch(57.16% 0.128 129.5)
XYZxyz(13.6623, 19.6499, 5.2630)
Luminance0.1965 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F862A #512A86
analogous
#867F2A #5F862A #31862A
triadic
#5F862A #2A5F86 #862A5F
tetradic
#5F862A #2A867F #512A86 #862A31
square
#5F862A #2A867F #512A86 #862A31
split-complementary
#5F862A #2A3186 #7F2A86
monochromatic
#1D290D #3E571B #5F862A #80B539 #9ECD5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F862A#FFFFFF#000000##000000
##5F862A1.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)
#8C7C1D
Deuteranopia (green-blind)
#877A32
Tritanopia (blue-blind)
#628073
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f862a;
/* rgb */ color: rgb(95, 134, 42);
/* oklch */ color: oklch(57.2% 0.128 129.5);
Tailwind
colors: {
  custom: {
    50: '#8fa969',
    500: '#5f862a',
    950: '#000000',
  },
}
SCSS
$custom: #5f862a;
$custom-light: #8fa969;
$custom-dark: #000000;
JSON
{
  "hex": "#5f862a",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 85.435,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5716,
    "c": 0.12813,
    "h": 129.5
  },
  "luminance": 0.1965
}

Semantic roles & 50–950 ramp

primary
#5F862A
secondary
#7F5AB2
accent
#4CDC89
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F862A

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

Preview Lab → · Contrast checker → · Palette generator →

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