#56871C#56871C

#56871C is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.7% C 0.144 H 131.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#56871C
RGBrgb(86, 135, 28)
HSLhsl(87, 66%, 32%)
HSVhsv(87, 79%, 53%)
CMYKcmyk(36.3%, 0%, 79.3%, 47.1%)
CIE-LABlab(51.14, -33.70, 48.34)
CIE-LCHlch(51.14, 58.93, 124.89°)
OKLaboklab(56.75% -0.0955 0.1072)
OKLCHoklch(56.75% 0.144 131.7)
XYZxyz(12.7112, 19.3897, 4.1712)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56871C #4D1C87
analogous
#87831C #56871C #20871C
triadic
#56871C #1C5687 #871C56
tetradic
#56871C #1C8783 #4D1C87 #871C20
square
#56871C #1C8783 #4D1C87 #871C20
split-complementary
#56871C #1C2087 #831C87
monochromatic
#152207 #365411 #56871C #76BA27 #95D845

Accessibility & contrast

On white

4.31
#56871C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#56871C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56871C
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56871C#FFFFFF#000000##000000
##56871C1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C01
Deuteranopia (green-blind)
#867927
Tritanopia (blue-blind)
#578173
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #56871c;
/* rgb */ color: rgb(86, 135, 28);
/* oklch */ color: oklch(56.7% 0.144 131.7);
Tailwind
colors: {
  custom: {
    50: '#8aaa61',
    500: '#56871c',
    950: '#000000',
  },
}
SCSS
$custom: #56871c;
$custom-light: #8aaa61;
$custom-dark: #000000;
JSON
{
  "hex": "#56871c",
  "rgb": {
    "r": 86,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 87.477,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56748,
    "c": 0.14354,
    "h": 131.7
  },
  "luminance": 0.1939
}

Semantic roles & 50–950 ramp

primary
#56871C
secondary
#7A45BA
accent
#3FE98D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #56871C

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

Preview Lab → · Contrast checker → · Palette generator →

#56871C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva