#87801C#87801C

#87801C is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.8% C 0.115 H 105.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#87801C
RGBrgb(135, 128, 28)
HSLhsl(56, 66%, 32%)
HSVhsv(56, 79%, 53%)
CMYKcmyk(0%, 5.2%, 79.3%, 47.1%)
CIE-LABlab(52.59, -8.94, 50.98)
CIE-LCHlch(52.59, 51.76, 99.94°)
OKLaboklab(58.82% -0.0303 0.1112)
OKLCHoklch(58.82% 0.115 105.2)
XYZxyz(17.9212, 20.6738, 4.1448)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87801C #1C2387
analogous
#874B1C #87801C #59871C
triadic
#87801C #1C8780 #801C87
tetradic
#87801C #1C874B #1C2387 #871C59
square
#87801C #1C874B #1C2387 #871C59
split-complementary
#87801C #1C5987 #4B1C87
monochromatic
#222007 #545011 #87801C #BAB027 #D8CF45

Accessibility & contrast

On white

4.09
#87801C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#87801C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87801C
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87801C#FFFFFF#000000##000000
##87801C1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B03
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#92776D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #87801c;
/* rgb */ color: rgb(135, 128, 28);
/* oklch */ color: oklch(58.8% 0.115 105.2);
Tailwind
colors: {
  custom: {
    50: '#ada461',
    500: '#87801c',
    950: '#000000',
  },
}
SCSS
$custom: #87801c;
$custom-light: #ada461;
$custom-dark: #000000;
JSON
{
  "hex": "#87801c",
  "rgb": {
    "r": 135,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 56.075,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58824,
    "c": 0.11525,
    "h": 105.2
  },
  "luminance": 0.20673
}

Semantic roles & 50–950 ramp

primary
#87801C
secondary
#454DBA
accent
#4AE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #87801C

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

Preview Lab → · Contrast checker → · Palette generator →

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