#56861C#56861C

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

Color values

HEX#56861C
RGBrgb(86, 134, 28)
HSLhsl(87, 65%, 32%)
HSVhsv(87, 79%, 53%)
CMYKcmyk(35.8%, 0%, 79.1%, 47.5%)
CIE-LABlab(50.82, -33.25, 48.03)
CIE-LCHlch(50.82, 58.42, 124.69°)
OKLaboklab(56.49% -0.0942 0.1066)
OKLCHoklch(56.49% 0.142 131.5)
XYZxyz(12.5723, 19.1120, 4.1249)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56861C #4C1C86
analogous
#86811C #56861C #21861C
triadic
#56861C #1C5686 #861C56
tetradic
#56861C #1C8681 #4C1C86 #861C21
square
#56861C #1C8681 #4C1C86 #861C21
split-complementary
#56861C #1C2186 #811C86
monochromatic
#152107 #365311 #56861C #76B927 #95D844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56861C#FFFFFF#000000##000000
##56861C1.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)
#8C7B01
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#588072
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #56861c;
/* rgb */ color: rgb(86, 134, 28);
/* oklch */ color: oklch(56.5% 0.142 131.5);
Tailwind
colors: {
  custom: {
    50: '#8aa961',
    500: '#56861c',
    950: '#000000',
  },
}
SCSS
$custom: #56861c;
$custom-light: #8aa961;
$custom-dark: #000000;
JSON
{
  "hex": "#56861c",
  "rgb": {
    "r": 86,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 87.17,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56485,
    "c": 0.14225,
    "h": 131.5
  },
  "luminance": 0.19112
}

Semantic roles & 50–950 ramp

primary
#56861C
secondary
#7945B9
accent
#3FE88C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #56861C

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

Preview Lab → · Contrast checker → · Palette generator →

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