#87802D#87802D

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

Color values

HEX#87802D
RGBrgb(135, 128, 45)
HSLhsl(55, 50%, 35%)
HSVhsv(55, 67%, 53%)
CMYKcmyk(0%, 5.2%, 66.7%, 47.1%)
CIE-LABlab(52.71, -8.04, 44.37)
CIE-LCHlch(52.71, 45.09, 100.27°)
OKLaboklab(58.95% -0.0259 0.1004)
OKLCHoklch(58.95% 0.104 104.5)
XYZxyz(18.1852, 20.7794, 5.5350)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87802D #2D3487
analogous
#87532D #87802D #61872D
triadic
#87802D #2D8780 #802D87
tetradic
#87802D #2D8753 #2D3487 #872D61
square
#87802D #2D8753 #2D3487 #872D61
split-complementary
#87802D #2D6187 #532D87
monochromatic
#2B290E #59541E #87802D #B5AC3C #CBC363

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87802D#FFFFFF#000000##000000
##87802D1.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)
#8B7C22
Deuteranopia (green-blind)
#8E8032
Tritanopia (blue-blind)
#91776F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #87802d;
/* rgb */ color: rgb(135, 128, 45);
/* oklch */ color: oklch(59.0% 0.104 104.5);
Tailwind
colors: {
  custom: {
    50: '#ada46a',
    500: '#87802d',
    950: '#000000',
  },
}
SCSS
$custom: #87802d;
$custom-light: #ada46a;
$custom-dark: #000000;
JSON
{
  "hex": "#87802d",
  "rgb": {
    "r": 135,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 55.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58954,
    "c": 0.1037,
    "h": 104.5
  },
  "luminance": 0.20779
}

Semantic roles & 50–950 ramp

primary
#87802D
secondary
#5E65B2
accent
#59DA4E
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #87802D

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

Preview Lab → · Contrast checker → · Palette generator →

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