#56881F#56881F

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

Color values

HEX#56881F
RGBrgb(86, 136, 31)
HSLhsl(89, 63%, 33%)
HSVhsv(89, 77%, 53%)
CMYKcmyk(36.8%, 0%, 77.2%, 46.7%)
CIE-LABlab(51.48, -33.98, 47.63)
CIE-LCHlch(51.48, 58.50, 125.51°)
OKLaboklab(57.03% -0.096 0.1062)
OKLCHoklch(57.03% 0.143 132.1)
XYZxyz(12.8891, 19.6851, 4.4166)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56881F #511F88
analogous
#88851F #56881F #22881F
triadic
#56881F #1F5688 #881F56
tetradic
#56881F #1F8885 #511F88 #881F22
square
#56881F #1F8885 #511F88 #881F22
split-complementary
#56881F #1F2288 #851F88
monochromatic
#172408 #365614 #56881F #76BA2A #94D64B

Accessibility & contrast

On white

4.25
#56881F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##56881F#FFFFFF#000000##000000
##56881F1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D07
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#578274
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #56881f;
/* rgb */ color: rgb(86, 136, 31);
/* oklch */ color: oklch(57.0% 0.143 132.1);
Tailwind
colors: {
  custom: {
    50: '#8aab63',
    500: '#56881f',
    950: '#000000',
  },
}
SCSS
$custom: #56881f;
$custom-light: #8aab63;
$custom-dark: #000000;
JSON
{
  "hex": "#56881f",
  "rgb": {
    "r": 86,
    "g": 136,
    "b": 31
  },
  "hsl": {
    "h": 88.571,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5703,
    "c": 0.14314,
    "h": 132.1
  },
  "luminance": 0.19686
}

Semantic roles & 50–950 ramp

primary
#56881F
secondary
#7F4AB9
accent
#42E690
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #56881F

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

Preview Lab → · Contrast checker → · Palette generator →

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