#87803E#87803E

#87803E is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.1% C 0.088 H 103.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#87803E
RGBrgb(135, 128, 62)
HSLhsl(54, 37%, 39%)
HSVhsv(54, 54%, 53%)
CMYKcmyk(0%, 5.2%, 54.1%, 47.1%)
CIE-LABlab(52.88, -6.71, 36.34)
CIE-LCHlch(52.88, 36.96, 100.47°)
OKLaboklab(59.15% -0.0201 0.0855)
OKLCHoklch(59.15% 0.088 103.3)
XYZxyz(18.5809, 20.9377, 7.6191)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87803E #3E4587
analogous
#875B3E #87803E #69873E
triadic
#87803E #3E8780 #803E87
tetradic
#87803E #3E875B #3E4587 #873E69
square
#87803E #3E875B #3E4587 #873E69
split-complementary
#87803E #3E6987 #5B3E87
monochromatic
#333017 #5D582B #87803E #B0A752 #C3BC7C

Accessibility & contrast

On white

4.05
#87803E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#87803E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87803E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87803E#FFFFFF#000000##000000
##87803E1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C38
Deuteranopia (green-blind)
#8C8041
Tritanopia (blue-blind)
#907871
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #87803e;
/* rgb */ color: rgb(135, 128, 62);
/* oklch */ color: oklch(59.1% 0.088 103.3);
Tailwind
colors: {
  custom: {
    50: '#aca475',
    500: '#87803e',
    950: '#000000',
  },
}
SCSS
$custom: #87803e;
$custom-light: #aca475;
$custom-dark: #000000;
JSON
{
  "hex": "#87803e",
  "rgb": {
    "r": 135,
    "g": 128,
    "b": 62
  },
  "hsl": {
    "h": 54.247,
    "s": 37.056,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59148,
    "c": 0.08787,
    "h": 103.3
  },
  "luminance": 0.20937
}

Semantic roles & 50–950 ramp

primary
#87803E
secondary
#7479AD
accent
#66CD5B
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#100F08
muted
#7F7F7B

Preview Lab

Preview with #87803E

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

Preview Lab → · Contrast checker → · Palette generator →

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