#877D1D#877D1D

#877D1D is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.1% C 0.112 H 103.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#877D1D
RGBrgb(135, 125, 29)
HSLhsl(54, 65%, 32%)
HSVhsv(54, 79%, 53%)
CMYKcmyk(0%, 7.4%, 78.5%, 47.1%)
CIE-LABlab(51.73, -7.24, 49.85)
CIE-LCHlch(51.73, 50.38, 98.27°)
OKLaboklab(58.14% -0.0255 0.109)
OKLCHoklch(58.14% 0.112 103.1)
XYZxyz(17.5479, 19.9076, 4.0804)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D1D #1D2787
analogous
#87481D #877D1D #5C871D
triadic
#877D1D #1D877D #7D1D87
tetradic
#877D1D #1D8748 #1D2787 #871D5C
square
#877D1D #1D8748 #1D2787 #871D5C
split-complementary
#877D1D #1D5C87 #481D87
monochromatic
#222007 #554E12 #877D1D #B9AC28 #D7CA47

Accessibility & contrast

On white

4.22
#877D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#877D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877D1D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877D1D#FFFFFF#000000##000000
##877D1D1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897907
Deuteranopia (green-blind)
#8C7D24
Tritanopia (blue-blind)
#92746B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877d1d;
/* rgb */ color: rgb(135, 125, 29);
/* oklch */ color: oklch(58.1% 0.112 103.1);
Tailwind
colors: {
  custom: {
    50: '#ada262',
    500: '#877d1d',
    950: '#000000',
  },
}
SCSS
$custom: #877d1d;
$custom-light: #ada262;
$custom-dark: #000000;
JSON
{
  "hex": "#877d1d",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 54.34,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58143,
    "c": 0.11192,
    "h": 103.1
  },
  "luminance": 0.19907
}

Semantic roles & 50–950 ramp

primary
#877D1D
secondary
#4651B9
accent
#50E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #877D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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