#56871D#56871D

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

Color values

HEX#56871D
RGBrgb(86, 135, 29)
HSLhsl(88, 65%, 32%)
HSVhsv(88, 79%, 53%)
CMYKcmyk(36.3%, 0%, 78.5%, 47.1%)
CIE-LABlab(51.15, -33.65, 48.00)
CIE-LCHlch(51.15, 58.62, 125.03°)
OKLaboklab(56.75% -0.0952 0.1067)
OKLCHoklch(56.75% 0.143 131.8)
XYZxyz(12.7234, 19.3946, 4.2353)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56871D #4E1D87
analogous
#87831D #56871D #21871D
triadic
#56871D #1D5687 #871D56
tetradic
#56871D #1D8783 #4E1D87 #871D21
square
#56871D #1D8783 #4E1D87 #871D21
split-complementary
#56871D #1D2187 #831D87
monochromatic
#162207 #365512 #56871D #76B928 #95D747

Accessibility & contrast

On white

4.30
#56871D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##56871D#FFFFFF#000000##000000
##56871D1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56871d;
/* rgb */ color: rgb(86, 135, 29);
/* oklch */ color: oklch(56.8% 0.143 131.8);
Tailwind
colors: {
  custom: {
    50: '#8aaa62',
    500: '#56871d',
    950: '#000000',
  },
}
SCSS
$custom: #56871d;
$custom-light: #8aaa62;
$custom-dark: #000000;
JSON
{
  "hex": "#56871d",
  "rgb": {
    "r": 86,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 87.736,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56754,
    "c": 0.14299,
    "h": 131.8
  },
  "luminance": 0.19395
}

Semantic roles & 50–950 ramp

primary
#56871D
secondary
#7C46B9
accent
#40E88E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #56871D

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

Preview Lab → · Contrast checker → · Palette generator →

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