#56871A#56871A

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

Color values

HEX#56871A
RGBrgb(86, 135, 26)
HSLhsl(87, 68%, 32%)
HSVhsv(87, 81%, 53%)
CMYKcmyk(36.3%, 0%, 80.7%, 47.1%)
CIE-LABlab(51.13, -33.81, 48.98)
CIE-LCHlch(51.13, 59.52, 124.62°)
OKLaboklab(56.74% -0.0959 0.1082)
OKLCHoklch(56.74% 0.145 131.5)
XYZxyz(12.6881, 19.3805, 4.0494)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56871A #4B1A87
analogous
#87821A #56871A #20871A
triadic
#56871A #1A5687 #871A56
tetradic
#56871A #1A8782 #4B1A87 #871A20
square
#56871A #1A8782 #4B1A87 #871A20
split-complementary
#56871A #1A2087 #821A87
monochromatic
#152006 #355410 #56871A #77BA24 #95DA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56871A#FFFFFF#000000##000000
##56871A1.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)
#877826
Tritanopia (blue-blind)
#578173
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #56871a;
/* rgb */ color: rgb(86, 135, 26);
/* oklch */ color: oklch(56.7% 0.145 131.5);
Tailwind
colors: {
  custom: {
    50: '#8aaa61',
    500: '#56871a',
    950: '#000000',
  },
}
SCSS
$custom: #56871a;
$custom-light: #8aaa61;
$custom-dark: #000000;
JSON
{
  "hex": "#56871a",
  "rgb": {
    "r": 86,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 86.972,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56736,
    "c": 0.1446,
    "h": 131.5
  },
  "luminance": 0.19381
}

Semantic roles & 50–950 ramp

primary
#56871A
secondary
#7842BA
accent
#3DEB8B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #56871A

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

Preview Lab → · Contrast checker → · Palette generator →

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