#87751D#87751D

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

Color values

HEX#87751D
RGBrgb(135, 117, 29)
HSLhsl(50, 65%, 32%)
HSVhsv(50, 79%, 53%)
CMYKcmyk(0%, 13.3%, 78.5%, 47.1%)
CIE-LABlab(49.45, -2.77, 47.74)
CIE-LCHlch(49.45, 47.82, 93.32°)
OKLaboklab(56.33% -0.0128 0.1045)
OKLCHoklch(56.33% 0.105 97)
XYZxyz(16.5756, 17.9631, 3.7563)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87751D #1D2F87
analogous
#87401D #87751D #64871D
triadic
#87751D #1D8775 #751D87
tetradic
#87751D #1D8740 #1D2F87 #871D64
square
#87751D #1D8740 #1D2F87 #871D64
split-complementary
#87751D #1D6487 #401D87
monochromatic
#221E07 #554912 #87751D #B9A128 #D7BF47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #87751d;
/* rgb */ color: rgb(135, 117, 29);
/* oklch */ color: oklch(56.3% 0.105 97.0);
Tailwind
colors: {
  custom: {
    50: '#ae9c61',
    500: '#87751d',
    950: '#000000',
  },
}
SCSS
$custom: #87751d;
$custom-light: #ae9c61;
$custom-dark: #000000;
JSON
{
  "hex": "#87751d",
  "rgb": {
    "r": 135,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 49.811,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56333,
    "c": 0.10526,
    "h": 97
  },
  "luminance": 0.17962
}

Semantic roles & 50–950 ramp

primary
#87751D
secondary
#465AB9
accent
#5DE840
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #87751D

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

Preview Lab → · Contrast checker → · Palette generator →

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