#56851F#56851F

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

Color values

HEX#56851F
RGBrgb(86, 133, 31)
HSLhsl(88, 62%, 32%)
HSVhsv(88, 77%, 52%)
CMYKcmyk(35.3%, 0%, 76.7%, 47.8%)
CIE-LABlab(50.51, -32.61, 46.69)
CIE-LCHlch(50.51, 56.95, 124.94°)
OKLaboklab(56.24% -0.0923 0.1042)
OKLCHoklch(56.24% 0.139 131.5)
XYZxyz(12.4725, 18.8519, 4.2777)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56851F #4E1F85
analogous
#85811F #56851F #23851F
triadic
#56851F #1F5685 #851F56
tetradic
#56851F #1F8581 #4E1F85 #851F23
square
#56851F #1F8581 #4E1F85 #851F23
split-complementary
#56851F #1F2385 #811F85
monochromatic
#162208 #365313 #56851F #76B72B #95D54A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56851F#FFFFFF#000000##000000
##56851F1.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)
#8B7B09
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#577F72
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #56851f;
/* rgb */ color: rgb(86, 133, 31);
/* oklch */ color: oklch(56.2% 0.139 131.5);
Tailwind
colors: {
  custom: {
    50: '#8aa963',
    500: '#56851f',
    950: '#000000',
  },
}
SCSS
$custom: #56851f;
$custom-light: #8aa963;
$custom-dark: #000000;
JSON
{
  "hex": "#56851f",
  "rgb": {
    "r": 86,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 87.647,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56242,
    "c": 0.13922,
    "h": 131.5
  },
  "luminance": 0.18852
}

Semantic roles & 50–950 ramp

primary
#56851F
secondary
#7C49B7
accent
#43E58E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #56851F

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

Preview Lab → · Contrast checker → · Palette generator →

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