#87791C#87791C

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

Color values

HEX#87791C
RGBrgb(135, 121, 28)
HSLhsl(52, 66%, 32%)
HSVhsv(52, 79%, 53%)
CMYKcmyk(0%, 10.4%, 79.3%, 47.1%)
CIE-LABlab(50.58, -5.06, 49.15)
CIE-LCHlch(50.58, 49.41, 95.88°)
OKLaboklab(57.23% -0.0194 0.1073)
OKLCHoklch(57.23% 0.109 100.3)
XYZxyz(17.0395, 18.9103, 3.8509)
Luminance0.1891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87791C #1C2A87
analogous
#87441C #87791C #5F871C
triadic
#87791C #1C8779 #791C87
tetradic
#87791C #1C8744 #1C2A87 #871C5F
square
#87791C #1C8744 #1C2A87 #871C5F
split-complementary
#87791C #1C5F87 #441C87
monochromatic
#221E07 #544C11 #87791C #BAA627 #D8C545

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87791C#FFFFFF#000000##000000
##87791C1.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)
#857507
Deuteranopia (green-blind)
#897B23
Tritanopia (blue-blind)
#927067
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #87791c;
/* rgb */ color: rgb(135, 121, 28);
/* oklch */ color: oklch(57.2% 0.109 100.3);
Tailwind
colors: {
  custom: {
    50: '#ae9f61',
    500: '#87791c',
    950: '#000000',
  },
}
SCSS
$custom: #87791c;
$custom-light: #ae9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#87791c",
  "rgb": {
    "r": 135,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 52.15,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57227,
    "c": 0.10902,
    "h": 100.3
  },
  "luminance": 0.18909
}

Semantic roles & 50–950 ramp

primary
#87791C
secondary
#4554BA
accent
#55E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #87791C

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

Preview Lab → · Contrast checker → · Palette generator →

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