#56811F#56811F

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

Color values

HEX#56811F
RGBrgb(86, 129, 31)
HSLhsl(86, 61%, 31%)
HSVhsv(86, 76%, 51%)
CMYKcmyk(33.3%, 0%, 76%, 49.4%)
CIE-LABlab(49.23, -30.76, 45.43)
CIE-LCHlch(49.23, 54.86, 124.10°)
OKLaboklab(55.19% -0.0873 0.1016)
OKLCHoklch(55.19% 0.134 130.7)
XYZxyz(11.9352, 17.7775, 4.0986)
Luminance0.1778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56811F #4A1F81
analogous
#817B1F #56811F #25811F
triadic
#56811F #1F5681 #811F56
tetradic
#56811F #1F817B #4A1F81 #811F25
square
#56811F #1F817B #4A1F81 #811F25
split-complementary
#56811F #1F2581 #7B1F81
monochromatic
#141E07 #355013 #56811F #77B22B #96D347

Accessibility & contrast

On white

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

On black

4.56
#56811F on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##56811F#FFFFFF#000000##FFFFFF
##56811F1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770B
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#587B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #56811f;
/* rgb */ color: rgb(86, 129, 31);
/* oklch */ color: oklch(55.2% 0.134 130.7);
Tailwind
colors: {
  custom: {
    50: '#89a662',
    500: '#56811f',
    950: '#000000',
  },
}
SCSS
$custom: #56811f;
$custom-light: #89a662;
$custom-dark: #000000;
JSON
{
  "hex": "#56811f",
  "rgb": {
    "r": 86,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 86.327,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55191,
    "c": 0.13393,
    "h": 130.7
  },
  "luminance": 0.17778
}

Semantic roles & 50–950 ramp

primary
#56811F
secondary
#7748B4
accent
#43E48A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #56811F

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

Preview Lab → · Contrast checker → · Palette generator →

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