#56811A#56811A

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

Color values

HEX#56811A
RGBrgb(86, 129, 26)
HSLhsl(85, 66%, 30%)
HSVhsv(85, 80%, 51%)
CMYKcmyk(33.3%, 0%, 79.8%, 49.4%)
CIE-LABlab(49.20, -31.06, 47.17)
CIE-LCHlch(49.20, 56.48, 123.36°)
OKLaboklab(55.16% -0.0885 0.1044)
OKLCHoklch(55.16% 0.137 130.3)
XYZxyz(11.8744, 17.7531, 3.7781)
Luminance0.1775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56811A #451A81
analogous
#81791A #56811A #22811A
triadic
#56811A #1A5681 #811A56
tetradic
#56811A #1A8179 #451A81 #811A22
square
#56811A #1A8179 #451A81 #811A22
split-complementary
#56811A #1A2281 #791A81
monochromatic
#121B05 #344E10 #56811A #78B424 #97D83D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56811A#FFFFFF#000000##FFFFFF
##56811A1.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)
#877700
Deuteranopia (green-blind)
#817425
Tritanopia (blue-blind)
#587B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #56811a;
/* rgb */ color: rgb(86, 129, 26);
/* oklch */ color: oklch(55.2% 0.137 130.3);
Tailwind
colors: {
  custom: {
    50: '#8aa660',
    500: '#56811a',
    950: '#000000',
  },
}
SCSS
$custom: #56811a;
$custom-light: #8aa660;
$custom-dark: #000000;
JSON
{
  "hex": "#56811a",
  "rgb": {
    "r": 86,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 85.049,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55158,
    "c": 0.13686,
    "h": 130.3
  },
  "luminance": 0.17754
}

Semantic roles & 50–950 ramp

primary
#56811A
secondary
#7242B5
accent
#3EE986
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #56811A

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

Preview Lab → · Contrast checker → · Palette generator →

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