#87802C#87802C

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

Color values

HEX#87802C
RGBrgb(135, 128, 44)
HSLhsl(55, 51%, 35%)
HSVhsv(55, 67%, 53%)
CMYKcmyk(0%, 5.2%, 67.4%, 47.1%)
CIE-LABlab(52.70, -8.10, 44.81)
CIE-LCHlch(52.70, 45.53, 100.25°)
OKLaboklab(58.95% -0.0262 0.1012)
OKLCHoklch(58.95% 0.105 104.5)
XYZxyz(18.1662, 20.7718, 5.4348)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87802C #2C3387
analogous
#87532C #87802C #60872C
triadic
#87802C #2C8780 #802C87
tetradic
#87802C #2C8753 #2C3387 #872C60
square
#87802C #2C8753 #2C3387 #872C60
split-complementary
#87802C #2C6087 #532C87
monochromatic
#2B280E #59541D #87802C #B5AC3B #CCC462

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87802C#FFFFFF#000000##000000
##87802C1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87802c;
/* rgb */ color: rgb(135, 128, 44);
/* oklch */ color: oklch(58.9% 0.104 104.5);
Tailwind
colors: {
  custom: {
    50: '#ada46a',
    500: '#87802c',
    950: '#000000',
  },
}
SCSS
$custom: #87802c;
$custom-light: #ada46a;
$custom-dark: #000000;
JSON
{
  "hex": "#87802c",
  "rgb": {
    "r": 135,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 55.385,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58945,
    "c": 0.1045,
    "h": 104.5
  },
  "luminance": 0.20771
}

Semantic roles & 50–950 ramp

primary
#87802C
secondary
#5D63B2
accent
#58DA4D
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #87802C

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

Preview Lab → · Contrast checker → · Palette generator →

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