#87741A#87741A

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

Color values

HEX#87741A
RGBrgb(135, 116, 26)
HSLhsl(50, 68%, 32%)
HSVhsv(50, 81%, 53%)
CMYKcmyk(0%, 14.1%, 80.7%, 47.1%)
CIE-LABlab(49.15, -2.33, 48.55)
CIE-LCHlch(49.15, 48.60, 92.75°)
OKLaboklab(56.09% -0.0119 0.1056)
OKLCHoklch(56.09% 0.106 96.4)
XYZxyz(16.4244, 17.7172, 3.5317)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87741A #1A2D87
analogous
#873E1A #87741A #64871A
triadic
#87741A #1A8774 #741A87
tetradic
#87741A #1A873E #1A2D87 #871A64
square
#87741A #1A873E #1A2D87 #871A64
split-complementary
#87741A #1A6487 #3E1A87
monochromatic
#201C06 #544810 #87741A #BAA024 #DAC041

Accessibility & contrast

On white

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

On black

4.54
#87741A on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##87741A#FFFFFF#000000##FFFFFF
##87741A1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87741a;
/* rgb */ color: rgb(135, 116, 26);
/* oklch */ color: oklch(56.1% 0.106 96.4);
Tailwind
colors: {
  custom: {
    50: '#ae9b5f',
    500: '#87741a',
    950: '#000000',
  },
}
SCSS
$custom: #87741a;
$custom-light: #ae9b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#87741a",
  "rgb": {
    "r": 135,
    "g": 116,
    "b": 26
  },
  "hsl": {
    "h": 49.541,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5609,
    "c": 0.10624,
    "h": 96.4
  },
  "luminance": 0.17716
}

Semantic roles & 50–950 ramp

primary
#87741A
secondary
#4257BA
accent
#5BEB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #87741A

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

Preview Lab → · Contrast checker → · Palette generator →

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