#56881D#56881D

#56881D is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.0% C 0.144 H 132.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#56881D
RGBrgb(86, 136, 29)
HSLhsl(88, 65%, 32%)
HSVhsv(88, 79%, 53%)
CMYKcmyk(36.8%, 0%, 78.7%, 46.7%)
CIE-LABlab(51.47, -34.10, 48.31)
CIE-LCHlch(51.47, 59.13, 125.22°)
OKLaboklab(57.02% -0.0965 0.1073)
OKLCHoklch(57.02% 0.144 132)
XYZxyz(12.8635, 19.6749, 4.2820)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56881D #4F1D88
analogous
#88841D #56881D #21881D
triadic
#56881D #1D5688 #881D56
tetradic
#56881D #1D8884 #4F1D88 #881D21
square
#56881D #1D8884 #4F1D88 #881D21
split-complementary
#56881D #1D2188 #841D88
monochromatic
#162307 #365612 #56881D #76BA28 #94D848

Accessibility & contrast

On white

4.26
#56881D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#56881D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56881D
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56881D#FFFFFF#000000##000000
##56881D1.004.264.944.94
#FFFFFF4.261.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D02
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#578274
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #56881d;
/* rgb */ color: rgb(86, 136, 29);
/* oklch */ color: oklch(57.0% 0.144 132.0);
Tailwind
colors: {
  custom: {
    50: '#8aab62',
    500: '#56881d',
    950: '#000000',
  },
}
SCSS
$custom: #56881d;
$custom-light: #8aab62;
$custom-dark: #000000;
JSON
{
  "hex": "#56881d",
  "rgb": {
    "r": 86,
    "g": 136,
    "b": 29
  },
  "hsl": {
    "h": 88.037,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57017,
    "c": 0.14429,
    "h": 132
  },
  "luminance": 0.19675
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #56881D

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

Preview Lab → · Contrast checker → · Palette generator →

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