#87803C#87803C

#87803C is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.1% C 0.090 H 103.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#87803C
RGBrgb(135, 128, 60)
HSLhsl(54, 38%, 38%)
HSVhsv(54, 56%, 53%)
CMYKcmyk(0%, 5.2%, 55.6%, 47.1%)
CIE-LABlab(52.86, -6.89, 37.34)
CIE-LCHlch(52.86, 37.97, 100.46°)
OKLaboklab(59.12% -0.0209 0.0875)
OKLCHoklch(59.12% 0.09 103.4)
XYZxyz(18.5270, 20.9161, 7.3354)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87803C #3C4387
analogous
#875A3C #87803C #68873C
triadic
#87803C #3C8780 #803C87
tetradic
#87803C #3C875A #3C4387 #873C68
square
#87803C #3C875A #3C4387 #873C68
split-complementary
#87803C #3C6887 #5A3C87
monochromatic
#323016 #5D5829 #87803C #B1A84F #C4BD7A

Accessibility & contrast

On white

4.05
#87803C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#87803C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87803C
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87803C#FFFFFF#000000##000000
##87803C1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C35
Deuteranopia (green-blind)
#8D803F
Tritanopia (blue-blind)
#907871
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #87803c;
/* rgb */ color: rgb(135, 128, 60);
/* oklch */ color: oklch(59.1% 0.090 103.4);
Tailwind
colors: {
  custom: {
    50: '#aca474',
    500: '#87803c',
    950: '#000000',
  },
}
SCSS
$custom: #87803c;
$custom-light: #aca474;
$custom-dark: #000000;
JSON
{
  "hex": "#87803c",
  "rgb": {
    "r": 135,
    "g": 128,
    "b": 60
  },
  "hsl": {
    "h": 54.4,
    "s": 38.462,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59122,
    "c": 0.08993,
    "h": 103.4
  },
  "luminance": 0.20915
}

Semantic roles & 50–950 ramp

primary
#87803C
secondary
#7177AD
accent
#64CE59
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#100F08
muted
#7F7F7B

Preview Lab

Preview with #87803C

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

Preview Lab → · Contrast checker → · Palette generator →

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