#56871B#56871B

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

Color values

HEX#56871B
RGBrgb(86, 135, 27)
HSLhsl(87, 67%, 32%)
HSVhsv(87, 80%, 53%)
CMYKcmyk(36.3%, 0%, 80%, 47.1%)
CIE-LABlab(51.13, -33.76, 48.66)
CIE-LCHlch(51.13, 59.23, 124.75°)
OKLaboklab(56.74% -0.0957 0.1077)
OKLCHoklch(56.74% 0.144 131.6)
XYZxyz(12.6994, 19.3850, 4.1093)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56871B #4C1B87
analogous
#87821B #56871B #20871B
triadic
#56871B #1B5687 #871B56
tetradic
#56871B #1B8782 #4C1B87 #871B20
square
#56871B #1B8782 #4C1B87 #871B20
split-complementary
#56871B #1B2087 #821B87
monochromatic
#152107 #365411 #56871B #76BA25 #95D943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56871B#FFFFFF#000000##000000
##56871B1.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)
#8D7C00
Deuteranopia (green-blind)
#867927
Tritanopia (blue-blind)
#578173
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #56871b;
/* rgb */ color: rgb(86, 135, 27);
/* oklch */ color: oklch(56.7% 0.144 131.6);
Tailwind
colors: {
  custom: {
    50: '#8aaa61',
    500: '#56871b',
    950: '#000000',
  },
}
SCSS
$custom: #56871b;
$custom-light: #8aaa61;
$custom-dark: #000000;
JSON
{
  "hex": "#56871b",
  "rgb": {
    "r": 86,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 87.222,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56742,
    "c": 0.14409,
    "h": 131.6
  },
  "luminance": 0.19386
}

Semantic roles & 50–950 ramp

primary
#56871B
secondary
#7944BA
accent
#3EEA8C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #56871B

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

Preview Lab → · Contrast checker → · Palette generator →

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