#877E1D#877E1D

#877E1D is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.4% C 0.113 H 103.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#877E1D
RGBrgb(135, 126, 29)
HSLhsl(55, 65%, 32%)
HSVhsv(55, 79%, 53%)
CMYKcmyk(0%, 6.7%, 78.5%, 47.1%)
CIE-LABlab(52.02, -7.80, 50.12)
CIE-LCHlch(52.02, 50.72, 98.84°)
OKLaboklab(58.37% -0.027 0.1096)
OKLCHoklch(58.37% 0.113 103.9)
XYZxyz(17.6751, 20.1621, 4.1228)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877E1D #1D2687
analogous
#87491D #877E1D #5B871D
triadic
#877E1D #1D877E #7E1D87
tetradic
#877E1D #1D8749 #1D2687 #871D5B
square
#877E1D #1D8749 #1D2687 #871D5B
split-complementary
#877E1D #1D5B87 #491D87
monochromatic
#222007 #554F12 #877E1D #B9AD28 #D7CB47

Accessibility & contrast

On white

4.17
#877E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#877E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877E1D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877E1D#FFFFFF#000000##000000
##877E1D1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A06
Deuteranopia (green-blind)
#8D7E24
Tritanopia (blue-blind)
#92756C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877e1d;
/* rgb */ color: rgb(135, 126, 29);
/* oklch */ color: oklch(58.4% 0.113 103.9);
Tailwind
colors: {
  custom: {
    50: '#ada362',
    500: '#877e1d',
    950: '#000000',
  },
}
SCSS
$custom: #877e1d;
$custom-light: #ada362;
$custom-dark: #000000;
JSON
{
  "hex": "#877e1d",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 54.906,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58371,
    "c": 0.11283,
    "h": 103.9
  },
  "luminance": 0.20161
}

Semantic roles & 50–950 ramp

primary
#877E1D
secondary
#4650B9
accent
#4EE840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #877E1D

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

Preview Lab → · Contrast checker → · Palette generator →

#877E1D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva