#56881B#56881B

#56881B is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.0% C 0.145 H 131.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#56881B
RGBrgb(86, 136, 27)
HSLhsl(88, 67%, 32%)
HSVhsv(88, 80%, 53%)
CMYKcmyk(36.8%, 0%, 80.1%, 46.7%)
CIE-LABlab(51.46, -34.21, 48.97)
CIE-LCHlch(51.46, 59.73, 124.94°)
OKLaboklab(57.01% -0.0969 0.1084)
OKLCHoklch(57.01% 0.145 131.8)
XYZxyz(12.8396, 19.6654, 4.1560)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56881B #4D1B88
analogous
#88841B #56881B #20881B
triadic
#56881B #1B5688 #881B56
tetradic
#56881B #1B8884 #4D1B88 #881B20
square
#56881B #1B8884 #4D1B88 #881B20
split-complementary
#56881B #1B2088 #841B88
monochromatic
#152207 #365511 #56881B #76BB25 #95DA44

Accessibility & contrast

On white

4.26
#56881B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#56881B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56881B
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56881B#FFFFFF#000000##000000
##56881B1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#578274
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #56881b;
/* rgb */ color: rgb(86, 136, 27);
/* oklch */ color: oklch(57.0% 0.145 131.8);
Tailwind
colors: {
  custom: {
    50: '#8aab61',
    500: '#56881b',
    950: '#000000',
  },
}
SCSS
$custom: #56881b;
$custom-light: #8aab61;
$custom-dark: #000000;
JSON
{
  "hex": "#56881b",
  "rgb": {
    "r": 86,
    "g": 136,
    "b": 27
  },
  "hsl": {
    "h": 87.523,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57005,
    "c": 0.14537,
    "h": 131.8
  },
  "luminance": 0.19666
}

Semantic roles & 50–950 ramp

primary
#56881B
secondary
#7A44BB
accent
#3EEA8D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #56881B

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

Preview Lab → · Contrast checker → · Palette generator →

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