#87751B#87751B

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

Color values

HEX#87751B
RGBrgb(135, 117, 27)
HSLhsl(50, 67%, 32%)
HSVhsv(50, 80%, 53%)
CMYKcmyk(0%, 13.3%, 80%, 47.1%)
CIE-LABlab(49.44, -2.85, 48.46)
CIE-LCHlch(49.44, 48.54, 93.37°)
OKLaboklab(56.32% -0.0133 0.1056)
OKLCHoklch(56.32% 0.106 97.2)
XYZxyz(16.5517, 17.9535, 3.6303)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87751B #1B2D87
analogous
#873F1B #87751B #63871B
triadic
#87751B #1B8775 #751B87
tetradic
#87751B #1B873F #1B2D87 #871B63
square
#87751B #1B873F #1B2D87 #871B63
split-complementary
#87751B #1B6387 #3F1B87
monochromatic
#211D07 #544911 #87751B #BAA125 #D9C043

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87751B#FFFFFF#000000##000000
##87751B1.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)
#827207
Deuteranopia (green-blind)
#867821
Tritanopia (blue-blind)
#926B64
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #87751b;
/* rgb */ color: rgb(135, 117, 27);
/* oklch */ color: oklch(56.3% 0.106 97.2);
Tailwind
colors: {
  custom: {
    50: '#ae9c60',
    500: '#87751b',
    950: '#000000',
  },
}
SCSS
$custom: #87751b;
$custom-light: #ae9c60;
$custom-dark: #000000;
JSON
{
  "hex": "#87751b",
  "rgb": {
    "r": 135,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 50,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5632,
    "c": 0.10642,
    "h": 97.2
  },
  "luminance": 0.17953
}

Semantic roles & 50–950 ramp

primary
#87751B
secondary
#4457BA
accent
#5BEA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #87751B

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

Preview Lab → · Contrast checker → · Palette generator →

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