#86871D#86871D

#86871D is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.4% C 0.122 H 110.1°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#86871D
RGBrgb(134, 135, 29)
HSLhsl(61, 65%, 32%)
HSVhsv(61, 79%, 53%)
CMYKcmyk(0.7%, 0%, 78.5%, 47.1%)
CIE-LABlab(54.54, -13.15, 52.39)
CIE-LCHlch(54.54, 54.01, 104.09°)
OKLaboklab(60.36% -0.0419 0.1144)
OKLCHoklch(60.36% 0.122 110.1)
XYZxyz(18.7179, 22.4855, 4.5163)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#86871D #1E1D87
analogous
#87531D #86871D #51871D
triadic
#86871D #1D8687 #871D86
tetradic
#86871D #1D8753 #1E1D87 #871D51
square
#86871D #1D8753 #1E1D87 #871D51
split-complementary
#86871D #1D5187 #531D87
monochromatic
#222207 #545512 #86871D #B8B928 #D6D747

Accessibility & contrast

On white

3.82
#86871D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#86871D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #86871D
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##86871D#FFFFFF#000000##000000
##86871D1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928101
Deuteranopia (green-blind)
#938426
Tritanopia (blue-blind)
#907E73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #86871d;
/* rgb */ color: rgb(134, 135, 29);
/* oklch */ color: oklch(60.4% 0.122 110.1);
Tailwind
colors: {
  custom: {
    50: '#ada963',
    500: '#86871d',
    950: '#000000',
  },
}
SCSS
$custom: #86871d;
$custom-light: #ada963;
$custom-dark: #000000;
JSON
{
  "hex": "#86871d",
  "rgb": {
    "r": 134,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 60.566,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60358,
    "c": 0.12186,
    "h": 110.1
  },
  "luminance": 0.22485
}

Semantic roles & 50–950 ramp

primary
#86871D
secondary
#4746B9
accent
#40E842
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #86871D

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

Preview Lab → · Contrast checker → · Palette generator →

#86871D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva