#86811F#86811F

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

Color values

HEX#86811F
RGBrgb(134, 129, 31)
HSLhsl(57, 62%, 32%)
HSVhsv(57, 77%, 53%)
CMYKcmyk(0%, 3.7%, 76.9%, 47.5%)
CIE-LABlab(52.81, -9.82, 50.10)
CIE-LCHlch(52.81, 51.06, 101.08°)
OKLaboklab(58.98% -0.0324 0.11)
OKLCHoklch(58.98% 0.115 106.4)
XYZxyz(17.9298, 20.8684, 4.3796)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#86811F #1F2486
analogous
#864D1F #86811F #58861F
triadic
#86811F #1F8681 #811F86
tetradic
#86811F #1F864D #1F2486 #861F58
square
#86811F #1F864D #1F2486 #861F58
split-complementary
#86811F #1F5886 #4D1F86
monochromatic
#232108 #545114 #86811F #B8B12A #D5CE4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##86811F#FFFFFF#000000##000000
##86811F1.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)
#8D7C0A
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#90786E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #86811f;
/* rgb */ color: rgb(134, 129, 31);
/* oklch */ color: oklch(59.0% 0.115 106.4);
Tailwind
colors: {
  custom: {
    50: '#ada563',
    500: '#86811f',
    950: '#000000',
  },
}
SCSS
$custom: #86811f;
$custom-light: #ada563;
$custom-dark: #000000;
JSON
{
  "hex": "#86811f",
  "rgb": {
    "r": 134,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 57.087,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58978,
    "c": 0.11465,
    "h": 106.4
  },
  "luminance": 0.20868
}

Semantic roles & 50–950 ramp

primary
#86811F
secondary
#494EB8
accent
#4AE542
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #86811F

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

Preview Lab → · Contrast checker → · Palette generator →

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