#56861B#56861B

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

Color values

HEX#56861B
RGBrgb(86, 134, 27)
HSLhsl(87, 66%, 32%)
HSVhsv(87, 80%, 53%)
CMYKcmyk(35.8%, 0%, 79.9%, 47.5%)
CIE-LABlab(50.81, -33.31, 48.36)
CIE-LCHlch(50.81, 58.72, 124.55°)
OKLaboklab(56.48% -0.0945 0.1071)
OKLCHoklch(56.48% 0.143 131.4)
XYZxyz(12.5606, 19.1073, 4.0630)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56861B #4B1B86
analogous
#86811B #56861B #20861B
triadic
#56861B #1B5686 #861B56
tetradic
#56861B #1B8681 #4B1B86 #861B20
square
#56861B #1B8681 #4B1B86 #861B20
split-complementary
#56861B #1B2086 #811B86
monochromatic
#152006 #355311 #56861B #77B925 #95D942

Accessibility & contrast

On white

4.36
#56861B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##56861B#FFFFFF#000000##000000
##56861B1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#588072
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #56861b;
/* rgb */ color: rgb(86, 134, 27);
/* oklch */ color: oklch(56.5% 0.143 131.4);
Tailwind
colors: {
  custom: {
    50: '#8aa961',
    500: '#56861b',
    950: '#000000',
  },
}
SCSS
$custom: #56861b;
$custom-light: #8aa961;
$custom-dark: #000000;
JSON
{
  "hex": "#56861b",
  "rgb": {
    "r": 86,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 86.916,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56479,
    "c": 0.1428,
    "h": 131.4
  },
  "luminance": 0.19108
}

Semantic roles & 50–950 ramp

primary
#56861B
secondary
#7844B9
accent
#3EE98B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #56861B

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

Preview Lab → · Contrast checker → · Palette generator →

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