#87802F#87802F

#87802F is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.0% C 0.102 H 104.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#87802F
RGBrgb(135, 128, 47)
HSLhsl(55, 48%, 36%)
HSVhsv(55, 65%, 53%)
CMYKcmyk(0%, 5.2%, 65.2%, 47.1%)
CIE-LABlab(52.72, -7.91, 43.49)
CIE-LCHlch(52.72, 44.20, 100.30°)
OKLaboklab(58.97% -0.0253 0.0988)
OKLCHoklch(58.97% 0.102 104.4)
XYZxyz(18.2246, 20.7951, 5.7426)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87802F #2F3687
analogous
#87542F #87802F #62872F
triadic
#87802F #2F8780 #802F87
tetradic
#87802F #2F8754 #2F3687 #872F62
square
#87802F #2F8754 #2F3687 #872F62
split-complementary
#87802F #2F6287 #542F87
monochromatic
#2C2A0F #5A551F #87802F #B4AB3F #CAC266

Accessibility & contrast

On white

4.07
#87802F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#87802F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87802F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87802F#FFFFFF#000000##000000
##87802F1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C25
Deuteranopia (green-blind)
#8D8034
Tritanopia (blue-blind)
#91776F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #87802f;
/* rgb */ color: rgb(135, 128, 47);
/* oklch */ color: oklch(59.0% 0.102 104.4);
Tailwind
colors: {
  custom: {
    50: '#ada46c',
    500: '#87802f',
    950: '#000000',
  },
}
SCSS
$custom: #87802f;
$custom-light: #ada46c;
$custom-dark: #000000;
JSON
{
  "hex": "#87802f",
  "rgb": {
    "r": 135,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 55.227,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58973,
    "c": 0.10205,
    "h": 104.4
  },
  "luminance": 0.20794
}

Semantic roles & 50–950 ramp

primary
#87802F
secondary
#6167B1
accent
#5BD850
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #87802F

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

Preview Lab → · Contrast checker → · Palette generator →

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