#56811C#56811C

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

Color values

HEX#56811C
RGBrgb(86, 129, 28)
HSLhsl(86, 64%, 31%)
HSVhsv(86, 78%, 51%)
CMYKcmyk(33.3%, 0%, 78.3%, 49.4%)
CIE-LABlab(49.21, -30.95, 46.50)
CIE-LCHlch(49.21, 55.85, 123.65°)
OKLaboklab(55.17% -0.088 0.1033)
OKLCHoklch(55.17% 0.136 130.4)
XYZxyz(11.8975, 17.7624, 3.9000)
Luminance0.1776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56811C #471C81
analogous
#81791C #56811C #23811C
triadic
#56811C #1C5681 #811C56
tetradic
#56811C #1C8179 #471C81 #811C23
square
#56811C #1C8179 #471C81 #811C23
split-complementary
#56811C #1C2381 #791C81
monochromatic
#131C06 #344F11 #56811C #78B327 #97D642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56811C#FFFFFF#000000##FFFFFF
##56811C1.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)
#877704
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#587B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #56811c;
/* rgb */ color: rgb(86, 129, 28);
/* oklch */ color: oklch(55.2% 0.136 130.4);
Tailwind
colors: {
  custom: {
    50: '#8aa661',
    500: '#56811c',
    950: '#000000',
  },
}
SCSS
$custom: #56811c;
$custom-light: #8aa661;
$custom-dark: #000000;
JSON
{
  "hex": "#56811c",
  "rgb": {
    "r": 86,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 85.545,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55171,
    "c": 0.13573,
    "h": 130.4
  },
  "luminance": 0.17763
}

Semantic roles & 50–950 ramp

primary
#56811C
secondary
#7444B4
accent
#40E788
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #56811C

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

Preview Lab → · Contrast checker → · Palette generator →

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