#87791D#87791D

#87791D is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.2% C 0.108 H 100.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#87791D
RGBrgb(135, 121, 29)
HSLhsl(52, 65%, 32%)
HSVhsv(52, 79%, 53%)
CMYKcmyk(0%, 10.4%, 78.5%, 47.1%)
CIE-LABlab(50.59, -5.02, 48.80)
CIE-LCHlch(50.59, 49.05, 95.87°)
OKLaboklab(57.23% -0.0192 0.1067)
OKLCHoklch(57.23% 0.108 100.2)
XYZxyz(17.0516, 18.9152, 3.9150)
Luminance0.1891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87791D #1D2B87
analogous
#87441D #87791D #60871D
triadic
#87791D #1D8779 #791D87
tetradic
#87791D #1D8744 #1D2B87 #871D60
square
#87791D #1D8744 #1D2B87 #871D60
split-complementary
#87791D #1D6087 #441D87
monochromatic
#221F07 #554C12 #87791D #B9A628 #D7C447

Accessibility & contrast

On white

4.39
#87791D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#87791D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87791D
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87791D#FFFFFF#000000##000000
##87791D1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#857509
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#927068
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #87791d;
/* rgb */ color: rgb(135, 121, 29);
/* oklch */ color: oklch(57.2% 0.108 100.2);
Tailwind
colors: {
  custom: {
    50: '#ad9f61',
    500: '#87791d',
    950: '#000000',
  },
}
SCSS
$custom: #87791d;
$custom-light: #ad9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#87791d",
  "rgb": {
    "r": 135,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 52.075,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57234,
    "c": 0.10844,
    "h": 100.2
  },
  "luminance": 0.18914
}

Semantic roles & 50–950 ramp

primary
#87791D
secondary
#4656B9
accent
#56E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #87791D

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

Preview Lab → · Contrast checker → · Palette generator →

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