#87801D#87801D

#87801D 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.14:1 contrast (WCAG AA passes).

Color values

HEX#87801D
RGBrgb(135, 128, 29)
HSLhsl(56, 65%, 32%)
HSVhsv(56, 79%, 53%)
CMYKcmyk(0%, 5.2%, 78.5%, 47.1%)
CIE-LABlab(52.60, -8.90, 50.65)
CIE-LCHlch(52.60, 51.42, 99.96°)
OKLaboklab(58.83% -0.0301 0.1107)
OKLCHoklch(58.83% 0.115 105.2)
XYZxyz(17.9334, 20.6787, 4.2089)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87801D #1D2487
analogous
#874B1D #87801D #59871D
triadic
#87801D #1D8780 #801D87
tetradic
#87801D #1D874B #1D2487 #871D59
square
#87801D #1D874B #1D2487 #871D59
split-complementary
#87801D #1D5987 #4B1D87
monochromatic
#222007 #555012 #87801D #B9B028 #D7CE47

Accessibility & contrast

On white

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

On black

5.14
#87801D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87801D
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87801D#FFFFFF#000000##000000
##87801D1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87801d;
/* rgb */ color: rgb(135, 128, 29);
/* oklch */ color: oklch(58.8% 0.115 105.2);
Tailwind
colors: {
  custom: {
    50: '#ada462',
    500: '#87801d',
    950: '#000000',
  },
}
SCSS
$custom: #87801d;
$custom-light: #ada462;
$custom-dark: #000000;
JSON
{
  "hex": "#87801d",
  "rgb": {
    "r": 135,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 56.038,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5883,
    "c": 0.1147,
    "h": 105.2
  },
  "luminance": 0.20678
}

Semantic roles & 50–950 ramp

primary
#87801D
secondary
#464EB9
accent
#4BE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #87801D

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

Preview Lab → · Contrast checker → · Palette generator →

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