#56872B#56872B

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

Color values

HEX#56872B
RGBrgb(86, 135, 43)
HSLhsl(92, 52%, 35%)
HSVhsv(92, 68%, 53%)
CMYKcmyk(36.3%, 0%, 68.1%, 47.1%)
CIE-LABlab(51.24, -32.64, 42.62)
CIE-LCHlch(51.24, 53.69, 127.45°)
OKLaboklab(56.87% -0.0914 0.0975)
OKLCHoklch(56.87% 0.134 133.2)
XYZxyz(12.9376, 19.4803, 5.3634)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56872B #5C2B87
analogous
#84872B #56872B #2B872E
triadic
#56872B #2B5687 #872B56
tetradic
#56872B #2B8487 #5C2B87 #872E2B
square
#56872B #2B8487 #5C2B87 #872E2B
split-complementary
#56872B #2E2B87 #872B84
monochromatic
#1B2A0D #38591C #56872B #74B53A #93CC60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56872B#FFFFFF#000000##000000
##56872B1.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)
#8C7D1F
Deuteranopia (green-blind)
#867933
Tritanopia (blue-blind)
#568274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #56872b;
/* rgb */ color: rgb(86, 135, 43);
/* oklch */ color: oklch(56.9% 0.134 133.2);
Tailwind
colors: {
  custom: {
    50: '#89aa69',
    500: '#56872b',
    950: '#000000',
  },
}
SCSS
$custom: #56872b;
$custom-light: #89aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#56872b",
  "rgb": {
    "r": 86,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 91.957,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56866,
    "c": 0.13364,
    "h": 133.2
  },
  "luminance": 0.19481
}

Semantic roles & 50–950 ramp

primary
#56872B
secondary
#8A5BB2
accent
#4DDB99
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #56872B

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

Preview Lab → · Contrast checker → · Palette generator →

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