#56851B#56851B

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

Color values

HEX#56851B
RGBrgb(86, 133, 27)
HSLhsl(87, 66%, 31%)
HSVhsv(87, 80%, 52%)
CMYKcmyk(35.3%, 0%, 79.7%, 47.8%)
CIE-LABlab(50.49, -32.85, 48.06)
CIE-LCHlch(50.49, 58.21, 124.35°)
OKLaboklab(56.22% -0.0932 0.1064)
OKLCHoklch(56.22% 0.142 131.2)
XYZxyz(12.4230, 18.8322, 4.0171)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56851B #4A1B85
analogous
#857F1B #56851B #21851B
triadic
#56851B #1B5685 #851B56
tetradic
#56851B #1B857F #4A1B85 #851B21
square
#56851B #1B857F #4A1B85 #851B21
split-complementary
#56851B #1B2185 #7F1B85
monochromatic
#141F06 #355211 #56851B #77B825 #96D942

Accessibility & contrast

On white

4.41
#56851B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##56851B#FFFFFF#000000##000000
##56851B1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56851b;
/* rgb */ color: rgb(86, 133, 27);
/* oklch */ color: oklch(56.2% 0.141 131.2);
Tailwind
colors: {
  custom: {
    50: '#8aa961',
    500: '#56851b',
    950: '#000000',
  },
}
SCSS
$custom: #56851b;
$custom-light: #8aa961;
$custom-dark: #000000;
JSON
{
  "hex": "#56851b",
  "rgb": {
    "r": 86,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 86.604,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56216,
    "c": 0.1415,
    "h": 131.2
  },
  "luminance": 0.18833
}

Semantic roles & 50–950 ramp

primary
#56851B
secondary
#7744B8
accent
#3FE98A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #56851B

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

Preview Lab → · Contrast checker → · Palette generator →

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