#87811D#87811D

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

Color values

HEX#87811D
RGBrgb(135, 129, 29)
HSLhsl(57, 65%, 32%)
HSVhsv(57, 79%, 53%)
CMYKcmyk(0%, 4.4%, 78.5%, 47.1%)
CIE-LABlab(52.88, -9.44, 50.91)
CIE-LCHlch(52.88, 51.78, 100.51°)
OKLaboklab(59.06% -0.0316 0.1112)
OKLCHoklch(59.06% 0.116 105.9)
XYZxyz(18.0645, 20.9408, 4.2526)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87811D #1D2387
analogous
#874C1D #87811D #58871D
triadic
#87811D #1D8781 #811D87
tetradic
#87811D #1D874C #1D2387 #871D58
square
#87811D #1D874C #1D2387 #871D58
split-complementary
#87811D #1D5887 #4C1D87
monochromatic
#222107 #555112 #87811D #B9B128 #D7CF47

Accessibility & contrast

On white

4.05
#87811D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#87811D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87811D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87811D#FFFFFF#000000##000000
##87811D1.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)
#8D7C05
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#91786E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #87811d;
/* rgb */ color: rgb(135, 129, 29);
/* oklch */ color: oklch(59.1% 0.116 105.9);
Tailwind
colors: {
  custom: {
    50: '#ada562',
    500: '#87811d',
    950: '#000000',
  },
}
SCSS
$custom: #87811d;
$custom-light: #ada562;
$custom-dark: #000000;
JSON
{
  "hex": "#87811d",
  "rgb": {
    "r": 135,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 56.604,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5906,
    "c": 0.11565,
    "h": 105.9
  },
  "luminance": 0.2094
}

Semantic roles & 50–950 ramp

primary
#87811D
secondary
#464DB9
accent
#4AE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #87811D

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

Preview Lab → · Contrast checker → · Palette generator →

#87811D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva