#56841B#56841B

#56841B is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.0% C 0.140 H 131.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#56841B
RGBrgb(86, 132, 27)
HSLhsl(86, 66%, 31%)
HSVhsv(86, 80%, 52%)
CMYKcmyk(34.8%, 0%, 79.5%, 48.2%)
CIE-LABlab(50.17, -32.39, 47.75)
CIE-LCHlch(50.17, 57.70, 124.15°)
OKLaboklab(55.95% -0.092 0.1058)
OKLCHoklch(55.95% 0.14 131)
XYZxyz(12.2868, 18.5596, 3.9717)
Luminance0.1856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56841B #491B84
analogous
#847D1B #56841B #21841B
triadic
#56841B #1B5684 #841B56
tetradic
#56841B #1B847D #491B84 #841B21
square
#56841B #1B847D #491B84 #841B21
split-complementary
#56841B #1B2184 #7D1B84
monochromatic
#141E06 #355111 #56841B #77B725 #96D841

Accessibility & contrast

On white

4.46
#56841B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#56841B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56841B
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56841B#FFFFFF#000000##000000
##56841B1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#587E70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #56841b;
/* rgb */ color: rgb(86, 132, 27);
/* oklch */ color: oklch(56.0% 0.140 131.0);
Tailwind
colors: {
  custom: {
    50: '#8aa861',
    500: '#56841b',
    950: '#000000',
  },
}
SCSS
$custom: #56841b;
$custom-light: #8aa861;
$custom-dark: #000000;
JSON
{
  "hex": "#56841b",
  "rgb": {
    "r": 86,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 86.286,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55953,
    "c": 0.14021,
    "h": 131
  },
  "luminance": 0.1856
}

Semantic roles & 50–950 ramp

primary
#56841B
secondary
#7643B7
accent
#3FE989
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #56841B

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

Preview Lab → · Contrast checker → · Palette generator →

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