#87822D#87822D

#87822D is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.4% C 0.106 H 106.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#87822D
RGBrgb(135, 130, 45)
HSLhsl(57, 50%, 35%)
HSVhsv(57, 67%, 53%)
CMYKcmyk(0%, 3.7%, 66.7%, 47.1%)
CIE-LABlab(53.28, -9.14, 44.98)
CIE-LCHlch(53.28, 45.89, 101.48°)
OKLaboklab(59.41% -0.0291 0.1017)
OKLCHoklch(59.41% 0.106 106)
XYZxyz(18.4486, 21.3063, 5.6228)
Luminance0.2131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87822D #2D3287
analogous
#87552D #87822D #5F872D
triadic
#87822D #2D8782 #822D87
tetradic
#87822D #2D8755 #2D3287 #872D5F
square
#87822D #2D8755 #2D3287 #872D5F
split-complementary
#87822D #2D5F87 #552D87
monochromatic
#2B2A0E #59561E #87822D #B5AE3C #CBC563

Accessibility & contrast

On white

3.99
#87822D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#87822D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87822D
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87822D#FFFFFF#000000##000000
##87822D1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D22
Deuteranopia (green-blind)
#8F8132
Tritanopia (blue-blind)
#917970
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #87822d;
/* rgb */ color: rgb(135, 130, 45);
/* oklch */ color: oklch(59.4% 0.106 106.0);
Tailwind
colors: {
  custom: {
    50: '#ada66b',
    500: '#87822d',
    950: '#000000',
  },
}
SCSS
$custom: #87822d;
$custom-light: #ada66b;
$custom-dark: #000000;
JSON
{
  "hex": "#87822d",
  "rgb": {
    "r": 135,
    "g": 130,
    "b": 45
  },
  "hsl": {
    "h": 56.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59412,
    "c": 0.10574,
    "h": 106
  },
  "luminance": 0.21306
}

Semantic roles & 50–950 ramp

primary
#87822D
secondary
#5E63B2
accent
#56DA4E
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #87822D

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

Preview Lab → · Contrast checker → · Palette generator →

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