#87802E#87802E

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

Color values

HEX#87802E
RGBrgb(135, 128, 46)
HSLhsl(55, 49%, 35%)
HSVhsv(55, 66%, 53%)
CMYKcmyk(0%, 5.2%, 65.9%, 47.1%)
CIE-LABlab(52.72, -7.97, 43.93)
CIE-LCHlch(52.72, 44.65, 100.29°)
OKLaboklab(58.96% -0.0256 0.0996)
OKLCHoklch(58.96% 0.103 104.4)
XYZxyz(18.2047, 20.7872, 5.6376)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87802E #2E3587
analogous
#87532E #87802E #61872E
triadic
#87802E #2E8780 #802E87
tetradic
#87802E #2E8753 #2E3587 #872E61
square
#87802E #2E8753 #2E3587 #872E61
split-complementary
#87802E #2E6187 #532E87
monochromatic
#2C290F #59551E #87802E #B5AB3E #CAC365

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87802E#FFFFFF#000000##000000
##87802E1.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)
#8B7C24
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#91776F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #87802e;
/* rgb */ color: rgb(135, 128, 46);
/* oklch */ color: oklch(59.0% 0.103 104.4);
Tailwind
colors: {
  custom: {
    50: '#ada46b',
    500: '#87802e',
    950: '#000000',
  },
}
SCSS
$custom: #87802e;
$custom-light: #ada46b;
$custom-dark: #000000;
JSON
{
  "hex": "#87802e",
  "rgb": {
    "r": 135,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 55.281,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58964,
    "c": 0.10288,
    "h": 104.4
  },
  "luminance": 0.20786
}

Semantic roles & 50–950 ramp

primary
#87802E
secondary
#6066B1
accent
#5AD94F
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #87802E

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

Preview Lab → · Contrast checker → · Palette generator →

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