#56811B#56811B

#56811B is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.2% C 0.136 H 130.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#56811B
RGBrgb(86, 129, 27)
HSLhsl(85, 65%, 31%)
HSVhsv(85, 79%, 51%)
CMYKcmyk(33.3%, 0%, 79.1%, 49.4%)
CIE-LABlab(49.20, -31.00, 46.84)
CIE-LCHlch(49.20, 56.17, 123.50°)
OKLaboklab(55.16% -0.0882 0.1039)
OKLCHoklch(55.16% 0.136 130.3)
XYZxyz(11.8858, 17.7577, 3.8380)
Luminance0.1776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56811B #461B81
analogous
#81791B #56811B #23811B
triadic
#56811B #1B5681 #811B56
tetradic
#56811B #1B8179 #461B81 #811B23
square
#56811B #1B8179 #461B81 #811B23
split-complementary
#56811B #1B2381 #791B81
monochromatic
#131C06 #344E10 #56811B #78B426 #97D73F

Accessibility & contrast

On white

4.61
#56811B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#56811B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #56811B
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56811B#FFFFFF#000000##FFFFFF
##56811B1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877702
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#587B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #56811b;
/* rgb */ color: rgb(86, 129, 27);
/* oklch */ color: oklch(55.2% 0.136 130.3);
Tailwind
colors: {
  custom: {
    50: '#8aa660',
    500: '#56811b',
    950: '#000000',
  },
}
SCSS
$custom: #56811b;
$custom-light: #8aa660;
$custom-dark: #000000;
JSON
{
  "hex": "#56811b",
  "rgb": {
    "r": 86,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 85.294,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55164,
    "c": 0.13631,
    "h": 130.3
  },
  "luminance": 0.17758
}

Semantic roles & 50–950 ramp

primary
#56811B
secondary
#7343B5
accent
#3FE887
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #56811B

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

Preview Lab → · Contrast checker → · Palette generator →

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