#87791E#87791E

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

Color values

HEX#87791E
RGBrgb(135, 121, 30)
HSLhsl(52, 64%, 32%)
HSVhsv(52, 78%, 53%)
CMYKcmyk(0%, 10.4%, 77.8%, 47.1%)
CIE-LABlab(50.59, -4.97, 48.44)
CIE-LCHlch(50.59, 48.69, 95.86°)
OKLaboklab(57.24% -0.019 0.1062)
OKLCHoklch(57.24% 0.108 100.1)
XYZxyz(17.0642, 18.9202, 3.9812)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87791E #1E2C87
analogous
#87451E #87791E #61871E
triadic
#87791E #1E8779 #791E87
tetradic
#87791E #1E8745 #1E2C87 #871E61
square
#87791E #1E8745 #1E2C87 #871E61
split-complementary
#87791E #1E6187 #451E87
monochromatic
#231F08 #554C13 #87791E #B9A629 #D7C449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87791E#FFFFFF#000000##000000
##87791E1.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)
#85750C
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#927068
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #87791e;
/* rgb */ color: rgb(135, 121, 30);
/* oklch */ color: oklch(57.2% 0.108 100.1);
Tailwind
colors: {
  custom: {
    50: '#ad9f62',
    500: '#87791e',
    950: '#000000',
  },
}
SCSS
$custom: #87791e;
$custom-light: #ad9f62;
$custom-dark: #000000;
JSON
{
  "hex": "#87791e",
  "rgb": {
    "r": 135,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 52,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5724,
    "c": 0.10786,
    "h": 100.1
  },
  "luminance": 0.18919
}

Semantic roles & 50–950 ramp

primary
#87791E
secondary
#4857B9
accent
#57E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #87791E

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

Preview Lab → · Contrast checker → · Palette generator →

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