#56871F#56871F

#56871F is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.8% C 0.142 H 131.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#56871F
RGBrgb(86, 135, 31)
HSLhsl(88, 63%, 33%)
HSVhsv(88, 77%, 53%)
CMYKcmyk(36.3%, 0%, 77%, 47.1%)
CIE-LABlab(51.16, -33.53, 47.31)
CIE-LCHlch(51.16, 57.99, 125.32°)
OKLaboklab(56.77% -0.0948 0.1055)
OKLCHoklch(56.77% 0.142 131.9)
XYZxyz(12.7489, 19.4048, 4.3698)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56871F #501F87
analogous
#87841F #56871F #22871F
triadic
#56871F #1F5687 #871F56
tetradic
#56871F #1F8784 #501F87 #871F22
square
#56871F #1F8784 #501F87 #871F22
split-complementary
#56871F #1F2287 #841F87
monochromatic
#172308 #365514 #56871F #76B92A #94D64B

Accessibility & contrast

On white

4.30
#56871F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#56871F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56871F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56871F#FFFFFF#000000##000000
##56871F1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C08
Deuteranopia (green-blind)
#867929
Tritanopia (blue-blind)
#578173
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #56871f;
/* rgb */ color: rgb(86, 135, 31);
/* oklch */ color: oklch(56.8% 0.142 131.9);
Tailwind
colors: {
  custom: {
    50: '#8aaa63',
    500: '#56871f',
    950: '#000000',
  },
}
SCSS
$custom: #56871f;
$custom-light: #8aaa63;
$custom-dark: #000000;
JSON
{
  "hex": "#56871f",
  "rgb": {
    "r": 86,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 88.269,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56768,
    "c": 0.14184,
    "h": 131.9
  },
  "luminance": 0.19405
}

Semantic roles & 50–950 ramp

primary
#56871F
secondary
#7E4AB8
accent
#42E68F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #56871F

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

Preview Lab → · Contrast checker → · Palette generator →

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