#86871A#86871A

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

Color values

HEX#86871A
RGBrgb(134, 135, 26)
HSLhsl(61, 68%, 32%)
HSVhsv(61, 81%, 53%)
CMYKcmyk(0.7%, 0%, 80.7%, 47.1%)
CIE-LABlab(54.52, -13.26, 53.32)
CIE-LCHlch(54.52, 54.95, 103.97°)
OKLaboklab(60.34% -0.0425 0.1159)
OKLCHoklch(60.34% 0.123 110.1)
XYZxyz(18.6826, 22.4714, 4.3304)
Luminance0.2247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#86871A #1B1A87
analogous
#87521A #86871A #50871A
triadic
#86871A #1A8687 #871A86
tetradic
#86871A #1A8752 #1B1A87 #871A50
square
#86871A #1A8752 #1B1A87 #871A50
split-complementary
#86871A #1A5087 #521A87
monochromatic
#202006 #535410 #86871A #B9BA24 #D9DA41

Accessibility & contrast

On white

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

On black

5.49
#86871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #86871A
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##86871A#FFFFFF#000000##000000
##86871A1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #86871a;
/* rgb */ color: rgb(134, 135, 26);
/* oklch */ color: oklch(60.3% 0.123 110.1);
Tailwind
colors: {
  custom: {
    50: '#ada962',
    500: '#86871a',
    950: '#000000',
  },
}
SCSS
$custom: #86871a;
$custom-light: #ada962;
$custom-dark: #000000;
JSON
{
  "hex": "#86871a",
  "rgb": {
    "r": 134,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 60.55,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60342,
    "c": 0.12341,
    "h": 110.1
  },
  "luminance": 0.22471
}

Semantic roles & 50–950 ramp

primary
#86871A
secondary
#4442BA
accent
#3DEB3F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #86871A

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

Preview Lab → · Contrast checker → · Palette generator →

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