#56873A#56873A

#56873A is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 57.0% C 0.121 H 135.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#56873A
RGBrgb(86, 135, 58)
HSLhsl(98, 40%, 38%)
HSVhsv(98, 57%, 53%)
CMYKcmyk(36.3%, 0%, 57%, 47.1%)
CIE-LABlab(51.39, -31.14, 35.74)
CIE-LCHlch(51.39, 47.40, 131.06°)
OKLaboklab(57.04% -0.0861 0.0845)
OKLCHoklch(57.04% 0.121 135.5)
XYZxyz(13.2651, 19.6113, 7.0886)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56873A #6B3A87
analogous
#7C873A #56873A #3A8745
triadic
#56873A #3A5687 #873A56
tetradic
#56873A #3A7C87 #6B3A87 #87453A
square
#56873A #3A7C87 #6B3A87 #87453A
split-complementary
#56873A #453A87 #873A7C
monochromatic
#1F3115 #3B5C28 #56873A #71B24C #93C577

Accessibility & contrast

On white

4.27
#56873A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#56873A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56873A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56873A#FFFFFF#000000##000000
##56873A1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D32
Deuteranopia (green-blind)
#85793F
Tritanopia (blue-blind)
#558276
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #56873a;
/* rgb */ color: rgb(86, 135, 58);
/* oklch */ color: oklch(57.0% 0.121 135.5);
Tailwind
colors: {
  custom: {
    50: '#89aa73',
    500: '#56873a',
    950: '#000000',
  },
}
SCSS
$custom: #56873a;
$custom-light: #89aa73;
$custom-dark: #000000;
JSON
{
  "hex": "#56873a",
  "rgb": {
    "r": 86,
    "g": 135,
    "b": 58
  },
  "hsl": {
    "h": 98.182,
    "s": 39.896,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57037,
    "c": 0.12063,
    "h": 135.5
  },
  "luminance": 0.19612
}

Semantic roles & 50–950 ramp

primary
#56873A
secondary
#976FAE
accent
#58D0A4
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1008
muted
#7D7F7B

Preview Lab

Preview with #56873A

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

Preview Lab → · Contrast checker → · Palette generator →

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