#86811B#86811B

#86811B is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.0% C 0.117 H 106.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#86811B
RGBrgb(134, 129, 27)
HSLhsl(57, 66%, 32%)
HSVhsv(57, 80%, 53%)
CMYKcmyk(0%, 3.7%, 79.9%, 47.5%)
CIE-LABlab(52.78, -9.99, 51.45)
CIE-LCHlch(52.78, 52.41, 100.98°)
OKLaboklab(58.95% -0.0333 0.1121)
OKLCHoklch(58.95% 0.117 106.5)
XYZxyz(17.8804, 20.8486, 4.1190)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#86811B #1B2086
analogous
#864C1B #86811B #56861B
triadic
#86811B #1B8681 #811B86
tetradic
#86811B #1B864C #1B2086 #861B56
square
#86811B #1B864C #1B2086 #861B56
split-complementary
#86811B #1B5686 #4C1B86
monochromatic
#201F06 #535011 #86811B #B9B225 #D9D242

Accessibility & contrast

On white

4.06
#86811B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#86811B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #86811B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##86811B#FFFFFF#000000##000000
##86811B1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#90786E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #86811b;
/* rgb */ color: rgb(134, 129, 27);
/* oklch */ color: oklch(59.0% 0.117 106.5);
Tailwind
colors: {
  custom: {
    50: '#ada561',
    500: '#86811b',
    950: '#000000',
  },
}
SCSS
$custom: #86811b;
$custom-light: #ada561;
$custom-dark: #000000;
JSON
{
  "hex": "#86811b",
  "rgb": {
    "r": 134,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 57.196,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58954,
    "c": 0.11689,
    "h": 106.5
  },
  "luminance": 0.20848
}

Semantic roles & 50–950 ramp

primary
#86811B
secondary
#4449B9
accent
#46E93E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #86811B

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

Preview Lab → · Contrast checker → · Palette generator →

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