#87751C#87751C

#87751C is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.3% C 0.106 H 97.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#87751C
RGBrgb(135, 117, 28)
HSLhsl(50, 66%, 32%)
HSVhsv(50, 79%, 53%)
CMYKcmyk(0%, 13.3%, 79.3%, 47.1%)
CIE-LABlab(49.45, -2.81, 48.10)
CIE-LCHlch(49.45, 48.18, 93.35°)
OKLaboklab(56.33% -0.013 0.105)
OKLCHoklch(56.33% 0.106 97.1)
XYZxyz(16.5634, 17.9582, 3.6922)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87751C #1C2E87
analogous
#87401C #87751C #63871C
triadic
#87751C #1C8775 #751C87
tetradic
#87751C #1C8740 #1C2E87 #871C63
square
#87751C #1C8740 #1C2E87 #871C63
split-complementary
#87751C #1C6387 #401C87
monochromatic
#221D07 #544911 #87751C #BAA127 #D8C045

Accessibility & contrast

On white

4.57
#87751C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#87751C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87751C
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87751C#FFFFFF#000000##000000
##87751C1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#827209
Deuteranopia (green-blind)
#867822
Tritanopia (blue-blind)
#926B64
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #87751c;
/* rgb */ color: rgb(135, 117, 28);
/* oklch */ color: oklch(56.3% 0.106 97.1);
Tailwind
colors: {
  custom: {
    50: '#ae9c60',
    500: '#87751c',
    950: '#000000',
  },
}
SCSS
$custom: #87751c;
$custom-light: #ae9c60;
$custom-dark: #000000;
JSON
{
  "hex": "#87751c",
  "rgb": {
    "r": 135,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 49.907,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56326,
    "c": 0.10585,
    "h": 97.1
  },
  "luminance": 0.17957
}

Semantic roles & 50–950 ramp

primary
#87751C
secondary
#4559BA
accent
#5CE93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #87751C

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

Preview Lab → · Contrast checker → · Palette generator →

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