#87711F#87711F

#87711F is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.5% C 0.101 H 93.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#87711F
RGBrgb(135, 113, 31)
HSLhsl(47, 63%, 33%)
HSVhsv(47, 77%, 53%)
CMYKcmyk(0%, 16.3%, 77%, 47.1%)
CIE-LABlab(48.34, -0.41, 45.92)
CIE-LCHlch(48.34, 45.92, 90.51°)
OKLaboklab(55.46% -0.0059 0.101)
OKLCHoklch(55.46% 0.101 93.3)
XYZxyz(16.1450, 17.0610, 3.7388)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87711F #1F3587
analogous
#873D1F #87711F #69871F
triadic
#87711F #1F8771 #711F87
tetradic
#87711F #1F873D #1F3587 #871F69
square
#87711F #1F873D #1F3587 #871F69
split-complementary
#87711F #1F6987 #3D1F87
monochromatic
#231E08 #554714 #87711F #B99B2A #D6B84B

Accessibility & contrast

On white

4.76
#87711F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#87711F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87711F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87711F#FFFFFF#000000##FFFFFF
##87711F1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F11
Deuteranopia (green-blind)
#837624
Tritanopia (blue-blind)
#926761
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #87711f;
/* rgb */ color: rgb(135, 113, 31);
/* oklch */ color: oklch(55.5% 0.101 93.3);
Tailwind
colors: {
  custom: {
    50: '#ae9961',
    500: '#87711f',
    950: '#000000',
  },
}
SCSS
$custom: #87711f;
$custom-light: #ae9961;
$custom-dark: #000000;
JSON
{
  "hex": "#87711f",
  "rgb": {
    "r": 135,
    "g": 113,
    "b": 31
  },
  "hsl": {
    "h": 47.308,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55455,
    "c": 0.1012,
    "h": 93.3
  },
  "luminance": 0.1706
}

Semantic roles & 50–950 ramp

primary
#87711F
secondary
#4A61B8
accent
#65E642
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #87711F

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

Preview Lab → · Contrast checker → · Palette generator →

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