#86841B#86841B

#86841B is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.6% C 0.120 H 108.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#86841B
RGBrgb(134, 132, 27)
HSLhsl(59, 66%, 32%)
HSVhsv(59, 80%, 53%)
CMYKcmyk(0%, 1.5%, 79.9%, 47.5%)
CIE-LABlab(53.65, -11.61, 52.24)
CIE-LCHlch(53.65, 53.51, 102.54°)
OKLaboklab(59.65% -0.0378 0.1137)
OKLCHoklch(59.65% 0.12 108.4)
XYZxyz(18.2813, 21.6506, 4.2527)
Luminance0.2165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#86841B #1B1D86
analogous
#864F1B #86841B #53861B
triadic
#86841B #1B8684 #841B86
tetradic
#86841B #1B864F #1B1D86 #861B53
square
#86841B #1B864F #1B1D86 #861B53
split-complementary
#86841B #1B5386 #4F1B86
monochromatic
#202006 #535211 #86841B #B9B625 #D9D642

Accessibility & contrast

On white

3.94
#86841B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#86841B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #86841B
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##86841B#FFFFFF#000000##000000
##86841B1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#907B71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #86841b;
/* rgb */ color: rgb(134, 132, 27);
/* oklch */ color: oklch(59.6% 0.120 108.4);
Tailwind
colors: {
  custom: {
    50: '#ada762',
    500: '#86841b',
    950: '#000000',
  },
}
SCSS
$custom: #86841b;
$custom-light: #ada762;
$custom-dark: #000000;
JSON
{
  "hex": "#86841b",
  "rgb": {
    "r": 134,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 58.879,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.59649,
    "c": 0.11984,
    "h": 108.4
  },
  "luminance": 0.2165
}

Semantic roles & 50–950 ramp

primary
#86841B
secondary
#4446B9
accent
#42E93E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #86841B

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

Preview Lab → · Contrast checker → · Palette generator →

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