#56851C#56851C

#56851C is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.2% C 0.141 H 131.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#56851C
RGBrgb(86, 133, 28)
HSLhsl(87, 65%, 32%)
HSVhsv(87, 79%, 52%)
CMYKcmyk(35.3%, 0%, 78.9%, 47.8%)
CIE-LABlab(50.50, -32.79, 47.73)
CIE-LCHlch(50.50, 57.91, 124.49°)
OKLaboklab(56.22% -0.093 0.1059)
OKLCHoklch(56.22% 0.141 131.3)
XYZxyz(12.4348, 18.8369, 4.0791)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56851C #4B1C85
analogous
#85801C #56851C #22851C
triadic
#56851C #1C5685 #851C56
tetradic
#56851C #1C8580 #4B1C85 #851C22
square
#56851C #1C8580 #4B1C85 #851C22
split-complementary
#56851C #1C2285 #801C85
monochromatic
#152007 #355211 #56851C #77B827 #95D844

Accessibility & contrast

On white

4.40
#56851C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#56851C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56851C
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56851C#FFFFFF#000000##000000
##56851C1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A02
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#587F71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #56851c;
/* rgb */ color: rgb(86, 133, 28);
/* oklch */ color: oklch(56.2% 0.141 131.3);
Tailwind
colors: {
  custom: {
    50: '#8aa961',
    500: '#56851c',
    950: '#000000',
  },
}
SCSS
$custom: #56851c;
$custom-light: #8aa961;
$custom-dark: #000000;
JSON
{
  "hex": "#56851c",
  "rgb": {
    "r": 86,
    "g": 133,
    "b": 28
  },
  "hsl": {
    "h": 86.857,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56222,
    "c": 0.14095,
    "h": 131.3
  },
  "luminance": 0.18837
}

Semantic roles & 50–950 ramp

primary
#56851C
secondary
#7845B8
accent
#40E88B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #56851C

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

Preview Lab → · Contrast checker → · Palette generator →

#56851C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva