#56811E#56811E

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

Color values

HEX#56811E
RGBrgb(86, 129, 30)
HSLhsl(86, 62%, 31%)
HSVhsv(86, 77%, 51%)
CMYKcmyk(33.3%, 0%, 76.7%, 49.4%)
CIE-LABlab(49.22, -30.83, 45.79)
CIE-LCHlch(49.22, 55.20, 123.95°)
OKLaboklab(55.18% -0.0875 0.1022)
OKLCHoklch(55.18% 0.135 130.6)
XYZxyz(11.9223, 17.7723, 4.0303)
Luminance0.1777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56811E #491E81
analogous
#817A1E #56811E #24811E
triadic
#56811E #1E5681 #811E56
tetradic
#56811E #1E817A #491E81 #811E24
square
#56811E #1E817A #491E81 #811E24
split-complementary
#56811E #1E2481 #7A1E81
monochromatic
#141E07 #354F12 #56811E #77B32A #96D446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56811E#FFFFFF#000000##FFFFFF
##56811E1.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)
#877709
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#587B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #56811e;
/* rgb */ color: rgb(86, 129, 30);
/* oklch */ color: oklch(55.2% 0.135 130.6);
Tailwind
colors: {
  custom: {
    50: '#8aa662',
    500: '#56811e',
    950: '#000000',
  },
}
SCSS
$custom: #56811e;
$custom-light: #8aa662;
$custom-dark: #000000;
JSON
{
  "hex": "#56811e",
  "rgb": {
    "r": 86,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 86.061,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55184,
    "c": 0.13454,
    "h": 130.6
  },
  "luminance": 0.17773
}

Semantic roles & 50–950 ramp

primary
#56811E
secondary
#7647B4
accent
#42E589
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #56811E

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

Preview Lab → · Contrast checker → · Palette generator →

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