#87803F#87803F

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

Color values

HEX#87803F
RGBrgb(135, 128, 63)
HSLhsl(54, 36%, 39%)
HSVhsv(54, 53%, 53%)
CMYKcmyk(0%, 5.2%, 53.3%, 47.1%)
CIE-LABlab(52.89, -6.62, 35.84)
CIE-LCHlch(52.89, 36.45, 100.47°)
OKLaboklab(59.16% -0.0198 0.0845)
OKLCHoklch(59.16% 0.087 103.2)
XYZxyz(18.6086, 20.9487, 7.7649)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87803F #3F4687
analogous
#875C3F #87803F #6A873F
triadic
#87803F #3F8780 #803F87
tetradic
#87803F #3F875C #3F4687 #873F6A
square
#87803F #3F875C #3F4687 #873F6A
split-complementary
#87803F #3F6A87 #5C3F87
monochromatic
#343118 #5D582C #87803F #AFA654 #C3BC7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87803F#FFFFFF#000000##000000
##87803F1.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)
#8A7C39
Deuteranopia (green-blind)
#8C8042
Tritanopia (blue-blind)
#907871
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #87803f;
/* rgb */ color: rgb(135, 128, 63);
/* oklch */ color: oklch(59.2% 0.087 103.2);
Tailwind
colors: {
  custom: {
    50: '#aca476',
    500: '#87803f',
    950: '#000000',
  },
}
SCSS
$custom: #87803f;
$custom-light: #aca476;
$custom-dark: #000000;
JSON
{
  "hex": "#87803f",
  "rgb": {
    "r": 135,
    "g": 128,
    "b": 63
  },
  "hsl": {
    "h": 54.167,
    "s": 36.364,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59162,
    "c": 0.08682,
    "h": 103.2
  },
  "luminance": 0.20948
}

Semantic roles & 50–950 ramp

primary
#87803F
secondary
#757AAD
accent
#66CC5B
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#100F08
muted
#7F7F7B

Preview Lab

Preview with #87803F

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

Preview Lab → · Contrast checker → · Palette generator →

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