#56811D#56811D

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

Color values

HEX#56811D
RGBrgb(86, 129, 29)
HSLhsl(86, 63%, 31%)
HSVhsv(86, 78%, 51%)
CMYKcmyk(33.3%, 0%, 77.5%, 49.4%)
CIE-LABlab(49.21, -30.89, 46.15)
CIE-LCHlch(49.21, 55.53, 123.79°)
OKLaboklab(55.18% -0.0878 0.1028)
OKLCHoklch(55.18% 0.135 130.5)
XYZxyz(11.9097, 17.7673, 3.9641)
Luminance0.1777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56811D #481D81
analogous
#817A1D #56811D #24811D
triadic
#56811D #1D5681 #811D56
tetradic
#56811D #1D817A #481D81 #811D24
square
#56811D #1D817A #481D81 #811D24
split-complementary
#56811D #1D2481 #7A1D81
monochromatic
#131D07 #354F12 #56811D #77B328 #96D544

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56811D#FFFFFF#000000##FFFFFF
##56811D1.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)
#877707
Deuteranopia (green-blind)
#817427
Tritanopia (blue-blind)
#587B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #56811d;
/* rgb */ color: rgb(86, 129, 29);
/* oklch */ color: oklch(55.2% 0.135 130.5);
Tailwind
colors: {
  custom: {
    50: '#8aa661',
    500: '#56811d',
    950: '#000000',
  },
}
SCSS
$custom: #56811d;
$custom-light: #8aa661;
$custom-dark: #000000;
JSON
{
  "hex": "#56811d",
  "rgb": {
    "r": 86,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 85.8,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55177,
    "c": 0.13515,
    "h": 130.5
  },
  "luminance": 0.17768
}

Semantic roles & 50–950 ramp

primary
#56811D
secondary
#7546B4
accent
#41E688
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #56811D

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

Preview Lab → · Contrast checker → · Palette generator →

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