#87802B#87802B

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

Color values

HEX#87802B
RGBrgb(135, 128, 43)
HSLhsl(55, 52%, 35%)
HSVhsv(55, 68%, 53%)
CMYKcmyk(0%, 5.2%, 68.1%, 47.1%)
CIE-LABlab(52.69, -8.17, 45.24)
CIE-LCHlch(52.69, 45.97, 100.23°)
OKLaboklab(58.94% -0.0265 0.1019)
OKLCHoklch(58.94% 0.105 104.6)
XYZxyz(18.1476, 20.7643, 5.3370)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87802B #2B3287
analogous
#87522B #87802B #60872B
triadic
#87802B #2B8780 #802B87
tetradic
#87802B #2B8752 #2B3287 #872B60
square
#87802B #2B8752 #2B3287 #872B60
split-complementary
#87802B #2B6087 #522B87
monochromatic
#2A280D #59541C #87802B #B5AC3A #CCC460

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87802B#FFFFFF#000000##000000
##87802B1.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)
#8B7C20
Deuteranopia (green-blind)
#8E8030
Tritanopia (blue-blind)
#91776F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #87802b;
/* rgb */ color: rgb(135, 128, 43);
/* oklch */ color: oklch(58.9% 0.105 104.6);
Tailwind
colors: {
  custom: {
    50: '#ada469',
    500: '#87802b',
    950: '#000000',
  },
}
SCSS
$custom: #87802b;
$custom-light: #ada469;
$custom-dark: #000000;
JSON
{
  "hex": "#87802b",
  "rgb": {
    "r": 135,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 55.435,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58936,
    "c": 0.10529,
    "h": 104.6
  },
  "luminance": 0.20764
}

Semantic roles & 50–950 ramp

primary
#87802B
secondary
#5B62B2
accent
#58DB4D
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #87802B

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

Preview Lab → · Contrast checker → · Palette generator →

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