#87751F#87751F

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

Color values

HEX#87751F
RGBrgb(135, 117, 31)
HSLhsl(50, 63%, 33%)
HSVhsv(50, 77%, 53%)
CMYKcmyk(0%, 13.3%, 77%, 47.1%)
CIE-LABlab(49.46, -2.68, 46.99)
CIE-LCHlch(49.46, 47.07, 93.26°)
OKLaboklab(56.35% -0.0123 0.1033)
OKLCHoklch(56.35% 0.104 96.8)
XYZxyz(16.6011, 17.9733, 3.8908)
Luminance0.1797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87751F #1F3187
analogous
#87411F #87751F #65871F
triadic
#87751F #1F8775 #751F87
tetradic
#87751F #1F8741 #1F3187 #871F65
square
#87751F #1F8741 #1F3187 #871F65
split-complementary
#87751F #1F6587 #411F87
monochromatic
#231F08 #554A14 #87751F #B9A02A #D6BE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87751F#FFFFFF#000000##000000
##87751F1.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)
#81720F
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#926C64
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #87751f;
/* rgb */ color: rgb(135, 117, 31);
/* oklch */ color: oklch(56.3% 0.104 96.8);
Tailwind
colors: {
  custom: {
    50: '#ad9c62',
    500: '#87751f',
    950: '#000000',
  },
}
SCSS
$custom: #87751f;
$custom-light: #ad9c62;
$custom-dark: #000000;
JSON
{
  "hex": "#87751f",
  "rgb": {
    "r": 135,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 49.615,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56346,
    "c": 0.10405,
    "h": 96.8
  },
  "luminance": 0.17972
}

Semantic roles & 50–950 ramp

primary
#87751F
secondary
#4A5DB8
accent
#5EE642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #87751F

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

Preview Lab → · Contrast checker → · Palette generator →

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