#56872D#56872D

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

Color values

HEX#56872D
RGBrgb(86, 135, 45)
HSLhsl(93, 50%, 35%)
HSVhsv(93, 67%, 53%)
CMYKcmyk(36.3%, 0%, 66.7%, 47.1%)
CIE-LABlab(51.26, -32.47, 41.76)
CIE-LCHlch(51.26, 52.90, 127.86°)
OKLaboklab(56.89% -0.0908 0.0959)
OKLCHoklch(56.89% 0.132 133.4)
XYZxyz(12.9752, 19.4953, 5.5614)
Luminance0.1950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56872D #5E2D87
analogous
#83872D #56872D #2D8731
triadic
#56872D #2D5687 #872D56
tetradic
#56872D #2D8387 #5E2D87 #87312D
square
#56872D #2D8387 #5E2D87 #87312D
split-complementary
#56872D #312D87 #872D83
monochromatic
#1C2B0E #39591E #56872D #73B53C #93CB63

Accessibility & contrast

On white

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

On black

4.90
#56872D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56872D
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56872D#FFFFFF#000000##000000
##56872D1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56872d;
/* rgb */ color: rgb(86, 135, 45);
/* oklch */ color: oklch(56.9% 0.132 133.4);
Tailwind
colors: {
  custom: {
    50: '#89aa6a',
    500: '#56872d',
    950: '#000000',
  },
}
SCSS
$custom: #56872d;
$custom-light: #89aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#56872d",
  "rgb": {
    "r": 86,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 92.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56886,
    "c": 0.13207,
    "h": 133.4
  },
  "luminance": 0.19496
}

Semantic roles & 50–950 ramp

primary
#56872D
secondary
#8C5EB2
accent
#4EDA9A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #56872D

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

Preview Lab → · Contrast checker → · Palette generator →

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