#5F861C#5F861C

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

Color values

HEX#5F861C
RGBrgb(95, 134, 28)
HSLhsl(82, 65%, 32%)
HSVhsv(82, 79%, 53%)
CMYKcmyk(29.1%, 0%, 79.1%, 47.5%)
CIE-LABlab(51.34, -29.69, 48.71)
CIE-LCHlch(51.34, 57.05, 121.36°)
OKLaboklab(57.05% -0.0852 0.1078)
OKLCHoklch(57.05% 0.137 128.3)
XYZxyz(13.4540, 19.5666, 4.1663)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F861C #431C86
analogous
#86781C #5F861C #2A861C
triadic
#5F861C #1C5F86 #861C5F
tetradic
#5F861C #1C8678 #431C86 #861C2A
square
#5F861C #1C8678 #431C86 #861C2A
split-complementary
#5F861C #1C2A86 #781C86
monochromatic
#172107 #3B5311 #5F861C #83B927 #A2D844

Accessibility & contrast

On white

4.27
#5F861C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5F861C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F861C
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F861C#FFFFFF#000000##000000
##5F861C1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C01
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#628072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f861c;
/* rgb */ color: rgb(95, 134, 28);
/* oklch */ color: oklch(57.1% 0.137 128.3);
Tailwind
colors: {
  custom: {
    50: '#90a961',
    500: '#5f861c',
    950: '#000000',
  },
}
SCSS
$custom: #5f861c;
$custom-light: #90a961;
$custom-dark: #000000;
JSON
{
  "hex": "#5f861c",
  "rgb": {
    "r": 95,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 82.075,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57052,
    "c": 0.13738,
    "h": 128.3
  },
  "luminance": 0.19567
}

Semantic roles & 50–950 ramp

primary
#5F861C
secondary
#7045B9
accent
#3FE87E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5F861C

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

Preview Lab → · Contrast checker → · Palette generator →

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