#87701F#87701F

#87701F is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.2% C 0.101 H 92.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#87701F
RGBrgb(135, 112, 31)
HSLhsl(47, 63%, 33%)
HSVhsv(47, 77%, 53%)
CMYKcmyk(0%, 17%, 77%, 47.1%)
CIE-LABlab(48.06, 0.17, 45.65)
CIE-LCHlch(48.06, 45.65, 89.79°)
OKLaboklab(55.23% -0.0042 0.1005)
OKLCHoklch(55.23% 0.101 92.4)
XYZxyz(16.0341, 16.8391, 3.7018)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87701F #1F3687
analogous
#873C1F #87701F #6A871F
triadic
#87701F #1F8770 #701F87
tetradic
#87701F #1F873C #1F3687 #871F6A
square
#87701F #1F873C #1F3687 #871F6A
split-complementary
#87701F #1F6A87 #3C1F87
monochromatic
#231D08 #554714 #87701F #B9992A #D6B74B

Accessibility & contrast

On white

4.81
#87701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#87701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87701F
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87701F#FFFFFF#000000##FFFFFF
##87701F1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E11
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#926660
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #87701f;
/* rgb */ color: rgb(135, 112, 31);
/* oklch */ color: oklch(55.2% 0.101 92.4);
Tailwind
colors: {
  custom: {
    50: '#ae9861',
    500: '#87701f',
    950: '#000000',
  },
}
SCSS
$custom: #87701f;
$custom-light: #ae9861;
$custom-dark: #000000;
JSON
{
  "hex": "#87701f",
  "rgb": {
    "r": 135,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 46.731,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55234,
    "c": 0.10055,
    "h": 92.4
  },
  "luminance": 0.16838
}

Semantic roles & 50–950 ramp

primary
#87701F
secondary
#4A62B8
accent
#66E642
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #87701F

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

Preview Lab → · Contrast checker → · Palette generator →

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