#87801F#87801F

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

Color values

HEX#87801F
RGBrgb(135, 128, 31)
HSLhsl(56, 63%, 33%)
HSVhsv(56, 77%, 53%)
CMYKcmyk(0%, 5.2%, 77%, 47.1%)
CIE-LABlab(52.61, -8.81, 49.95)
CIE-LCHlch(52.61, 50.72, 100.00°)
OKLaboklab(58.84% -0.0297 0.1096)
OKLCHoklch(58.84% 0.114 105.1)
XYZxyz(17.9589, 20.6889, 4.3434)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87801F #1F2687
analogous
#874C1F #87801F #5A871F
triadic
#87801F #1F8780 #801F87
tetradic
#87801F #1F874C #1F2687 #871F5A
square
#87801F #1F874C #1F2687 #871F5A
split-complementary
#87801F #1F5A87 #4C1F87
monochromatic
#232208 #555114 #87801F #B9AF2A #D6CC4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87801F#FFFFFF#000000##000000
##87801F1.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)
#8C7B0A
Deuteranopia (green-blind)
#8E7F26
Tritanopia (blue-blind)
#91776E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #87801f;
/* rgb */ color: rgb(135, 128, 31);
/* oklch */ color: oklch(58.8% 0.114 105.1);
Tailwind
colors: {
  custom: {
    50: '#ada463',
    500: '#87801f',
    950: '#000000',
  },
}
SCSS
$custom: #87801f;
$custom-light: #ada463;
$custom-dark: #000000;
JSON
{
  "hex": "#87801f",
  "rgb": {
    "r": 135,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 55.962,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58843,
    "c": 0.11354,
    "h": 105.1
  },
  "luminance": 0.20688
}

Semantic roles & 50–950 ramp

primary
#87801F
secondary
#4A51B8
accent
#4DE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #87801F

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

Preview Lab → · Contrast checker → · Palette generator →

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