#877820#877820

#877820 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.0% C 0.106 H 99.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#877820
RGBrgb(135, 120, 32)
HSLhsl(51, 62%, 33%)
HSVhsv(51, 76%, 53%)
CMYKcmyk(0%, 11.1%, 76.3%, 47.1%)
CIE-LABlab(50.32, -4.32, 47.42)
CIE-LCHlch(50.32, 47.62, 95.21°)
OKLaboklab(57.03% -0.0169 0.1044)
OKLCHoklch(57.03% 0.106 99.2)
XYZxyz(16.9697, 18.6890, 4.0797)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877820 #202F87
analogous
#874420 #877820 #638720
triadic
#877820 #208778 #782087
tetradic
#877820 #208744 #202F87 #872063
square
#877820 #208744 #202F87 #872063
split-complementary
#877820 #206387 #442087
monochromatic
#242009 #564C14 #877820 #B8A42C #D5C14D

Accessibility & contrast

On white

4.43
#877820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#877820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877820
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877820#FFFFFF#000000##000000
##8778201.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847510
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#926F67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #877820;
/* rgb */ color: rgb(135, 120, 32);
/* oklch */ color: oklch(57.0% 0.106 99.2);
Tailwind
colors: {
  custom: {
    50: '#ad9e62',
    500: '#877820',
    950: '#000000',
  },
}
SCSS
$custom: #877820;
$custom-light: #ad9e62;
$custom-dark: #000000;
JSON
{
  "hex": "#877820",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 32
  },
  "hsl": {
    "h": 51.262,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57028,
    "c": 0.10579,
    "h": 99.2
  },
  "luminance": 0.18688
}

Semantic roles & 50–950 ramp

primary
#877820
secondary
#4B5BB8
accent
#5BE543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #877820

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

Preview Lab → · Contrast checker → · Palette generator →

#877820 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva