#87802A#87802A

#87802A is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.9% C 0.106 H 104.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#87802A
RGBrgb(135, 128, 42)
HSLhsl(55, 53%, 35%)
HSVhsv(55, 69%, 53%)
CMYKcmyk(0%, 5.2%, 68.9%, 47.1%)
CIE-LABlab(52.68, -8.23, 45.66)
CIE-LCHlch(52.68, 46.40, 100.21°)
OKLaboklab(58.93% -0.0268 0.1026)
OKLCHoklch(58.93% 0.106 104.7)
XYZxyz(18.1295, 20.7571, 5.2416)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87802A #2A3187
analogous
#87522A #87802A #60872A
triadic
#87802A #2A8780 #802A87
tetradic
#87802A #2A8752 #2A3187 #872A60
square
#87802A #2A8752 #2A3187 #872A60
split-complementary
#87802A #2A6087 #522A87
monochromatic
#2A270D #58541B #87802A #B6AC39 #CDC55E

Accessibility & contrast

On white

4.08
#87802A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#87802A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87802A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87802A#FFFFFF#000000##000000
##87802A1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1E
Deuteranopia (green-blind)
#8E802F
Tritanopia (blue-blind)
#91776E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #87802a;
/* rgb */ color: rgb(135, 128, 42);
/* oklch */ color: oklch(58.9% 0.106 104.7);
Tailwind
colors: {
  custom: {
    50: '#ada469',
    500: '#87802a',
    950: '#000000',
  },
}
SCSS
$custom: #87802a;
$custom-light: #ada469;
$custom-dark: #000000;
JSON
{
  "hex": "#87802a",
  "rgb": {
    "r": 135,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 55.484,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58927,
    "c": 0.10606,
    "h": 104.7
  },
  "luminance": 0.20756
}

Semantic roles & 50–950 ramp

primary
#87802A
secondary
#5A61B3
accent
#57DC4C
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #87802A

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

Preview Lab → · Contrast checker → · Palette generator →

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