#56861A#56861A

#56861A 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#56861A
RGBrgb(86, 134, 26)
HSLhsl(87, 68%, 31%)
HSVhsv(87, 81%, 53%)
CMYKcmyk(35.8%, 0%, 80.6%, 47.5%)
CIE-LABlab(50.81, -33.36, 48.68)
CIE-LCHlch(50.81, 59.01, 124.42°)
OKLaboklab(56.47% -0.0947 0.1076)
OKLCHoklch(56.47% 0.143 131.4)
XYZxyz(12.5492, 19.1027, 4.0031)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56861A #4A1A86
analogous
#86801A #56861A #20861A
triadic
#56861A #1A5686 #861A56
tetradic
#56861A #1A8680 #4A1A86 #861A20
square
#56861A #1A8680 #4A1A86 #861A20
split-complementary
#56861A #1A2086 #801A86
monochromatic
#141F06 #355310 #56861A #77B924 #96DA40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56861A#FFFFFF#000000##000000
##56861A1.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: #56861a;
/* rgb */ color: rgb(86, 134, 26);
/* oklch */ color: oklch(56.5% 0.143 131.4);
Tailwind
colors: {
  custom: {
    50: '#8aa960',
    500: '#56861a',
    950: '#000000',
  },
}
SCSS
$custom: #56861a;
$custom-light: #8aa960;
$custom-dark: #000000;
JSON
{
  "hex": "#56861a",
  "rgb": {
    "r": 86,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 86.667,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56473,
    "c": 0.14332,
    "h": 131.4
  },
  "luminance": 0.19103
}

Semantic roles & 50–950 ramp

primary
#56861A
secondary
#7742B9
accent
#3DEA8A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #56861A

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

Preview Lab → · Contrast checker → · Palette generator →

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