#87741C#87741C

#87741C is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 56.1% C 0.105 H 96.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#87741C
RGBrgb(135, 116, 28)
HSLhsl(49, 66%, 32%)
HSVhsv(49, 79%, 53%)
CMYKcmyk(0%, 14.1%, 79.3%, 47.1%)
CIE-LABlab(49.16, -2.25, 47.84)
CIE-LCHlch(49.16, 47.89, 92.69°)
OKLaboklab(56.1% -0.0114 0.1045)
OKLCHoklch(56.1% 0.105 96.2)
XYZxyz(16.4475, 17.7264, 3.6536)
Luminance0.1773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87741C #1C2F87
analogous
#873F1C #87741C #65871C
triadic
#87741C #1C8774 #741C87
tetradic
#87741C #1C873F #1C2F87 #871C65
square
#87741C #1C873F #1C2F87 #871C65
split-complementary
#87741C #1C6587 #3F1C87
monochromatic
#221D07 #544811 #87741C #BAA027 #D8BE45

Accessibility & contrast

On white

4.62
#87741C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#87741C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #87741C
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87741C#FFFFFF#000000##FFFFFF
##87741C1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817109
Deuteranopia (green-blind)
#867722
Tritanopia (blue-blind)
#926A63
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #87741c;
/* rgb */ color: rgb(135, 116, 28);
/* oklch */ color: oklch(56.1% 0.105 96.2);
Tailwind
colors: {
  custom: {
    50: '#ae9b60',
    500: '#87741c',
    950: '#000000',
  },
}
SCSS
$custom: #87741c;
$custom-light: #ae9b60;
$custom-dark: #000000;
JSON
{
  "hex": "#87741c",
  "rgb": {
    "r": 135,
    "g": 116,
    "b": 28
  },
  "hsl": {
    "h": 49.346,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56102,
    "c": 0.10511,
    "h": 96.2
  },
  "luminance": 0.17726
}

Semantic roles & 50–950 ramp

primary
#87741C
secondary
#455ABA
accent
#5DE93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #87741C

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

Preview Lab → · Contrast checker → · Palette generator →

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