#86871C#86871C

#86871C 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#86871C
RGBrgb(134, 135, 28)
HSLhsl(61, 66%, 32%)
HSVhsv(61, 79%, 53%)
CMYKcmyk(0.7%, 0%, 79.3%, 47.1%)
CIE-LABlab(54.53, -13.19, 52.71)
CIE-LCHlch(54.53, 54.33, 104.05°)
OKLaboklab(60.35% -0.0421 0.1149)
OKLCHoklch(60.35% 0.122 110.1)
XYZxyz(18.7058, 22.4807, 4.4522)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#86871C #1D1C87
analogous
#87531C #86871C #51871C
triadic
#86871C #1C8687 #871C86
tetradic
#86871C #1C8753 #1D1C87 #871C51
square
#86871C #1C8753 #1D1C87 #871C51
split-complementary
#86871C #1C5187 #531C87
monochromatic
#212207 #545411 #86871C #B8BA27 #D7D845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##86871C#FFFFFF#000000##000000
##86871C1.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)
#928100
Deuteranopia (green-blind)
#938425
Tritanopia (blue-blind)
#907E73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #86871c;
/* rgb */ color: rgb(134, 135, 28);
/* oklch */ color: oklch(60.4% 0.122 110.1);
Tailwind
colors: {
  custom: {
    50: '#ada962',
    500: '#86871c',
    950: '#000000',
  },
}
SCSS
$custom: #86871c;
$custom-light: #ada962;
$custom-dark: #000000;
JSON
{
  "hex": "#86871c",
  "rgb": {
    "r": 134,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 60.561,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60353,
    "c": 0.12239,
    "h": 110.1
  },
  "luminance": 0.2248
}

Semantic roles & 50–950 ramp

primary
#86871C
secondary
#4645BA
accent
#3FE941
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #86871C

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

Preview Lab → · Contrast checker → · Palette generator →

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