#56861D#56861D

#56861D is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.5% C 0.142 H 131.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#56861D
RGBrgb(86, 134, 29)
HSLhsl(87, 64%, 32%)
HSVhsv(87, 78%, 53%)
CMYKcmyk(35.8%, 0%, 78.4%, 47.5%)
CIE-LABlab(50.82, -33.19, 47.70)
CIE-LCHlch(50.82, 58.11, 124.83°)
OKLaboklab(56.49% -0.094 0.106)
OKLCHoklch(56.49% 0.142 131.6)
XYZxyz(12.5845, 19.1168, 4.1890)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56861D #4D1D86
analogous
#86821D #56861D #21861D
triadic
#56861D #1D5686 #861D56
tetradic
#56861D #1D8682 #4D1D86 #861D21
square
#56861D #1D8682 #4D1D86 #861D21
split-complementary
#56861D #1D2186 #821D86
monochromatic
#152107 #365412 #56861D #76B828 #95D746

Accessibility & contrast

On white

4.35
#56861D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#56861D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56861D
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56861D#FFFFFF#000000##000000
##56861D1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B04
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#578072
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #56861d;
/* rgb */ color: rgb(86, 134, 29);
/* oklch */ color: oklch(56.5% 0.142 131.6);
Tailwind
colors: {
  custom: {
    50: '#8aa962',
    500: '#56861d',
    950: '#000000',
  },
}
SCSS
$custom: #56861d;
$custom-light: #8aa962;
$custom-dark: #000000;
JSON
{
  "hex": "#56861d",
  "rgb": {
    "r": 86,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 87.429,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56491,
    "c": 0.1417,
    "h": 131.6
  },
  "luminance": 0.19117
}

Semantic roles & 50–950 ramp

primary
#56861D
secondary
#7A46B9
accent
#40E78D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #56861D

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

Preview Lab → · Contrast checker → · Palette generator →

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