#56872A#56872A

#56872A is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 56.9% C 0.134 H 133.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#56872A
RGBrgb(86, 135, 42)
HSLhsl(92, 53%, 35%)
HSVhsv(92, 69%, 53%)
CMYKcmyk(36.3%, 0%, 68.9%, 47.1%)
CIE-LABlab(51.24, -32.73, 43.05)
CIE-LCHlch(51.24, 54.08, 127.25°)
OKLaboklab(56.86% -0.0917 0.0983)
OKLCHoklch(56.86% 0.134 133)
XYZxyz(12.9194, 19.4730, 5.2680)
Luminance0.1947 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56872A #5B2A87
analogous
#84872A #56872A #2A872D
triadic
#56872A #2A5687 #872A56
tetradic
#56872A #2A8487 #5B2A87 #872D2A
square
#56872A #2A8487 #5B2A87 #872D2A
split-complementary
#56872A #2D2A87 #872A84
monochromatic
#1B2A0D #38581B #56872A #74B639 #93CD5E

Accessibility & contrast

On white

4.29
#56872A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#56872A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56872A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56872A#FFFFFF#000000##000000
##56872A1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1D
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#568274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #56872a;
/* rgb */ color: rgb(86, 135, 42);
/* oklch */ color: oklch(56.9% 0.134 133.0);
Tailwind
colors: {
  custom: {
    50: '#89aa69',
    500: '#56872a',
    950: '#000000',
  },
}
SCSS
$custom: #56872a;
$custom-light: #89aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#56872a",
  "rgb": {
    "r": 86,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 91.613,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56857,
    "c": 0.13441,
    "h": 133
  },
  "luminance": 0.19474
}

Semantic roles & 50–950 ramp

primary
#56872A
secondary
#895AB3
accent
#4CDC98
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #56872A

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

Preview Lab → · Contrast checker → · Palette generator →

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