#877D1C#877D1C

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

Color values

HEX#877D1C
RGBrgb(135, 125, 28)
HSLhsl(54, 66%, 32%)
HSVhsv(54, 79%, 53%)
CMYKcmyk(0%, 7.4%, 79.3%, 47.1%)
CIE-LABlab(51.73, -7.29, 50.19)
CIE-LCHlch(51.73, 50.72, 98.26°)
OKLaboklab(58.14% -0.0257 0.1095)
OKLCHoklch(58.14% 0.112 103.2)
XYZxyz(17.5357, 19.9027, 4.0163)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D1C #1C2687
analogous
#87481C #877D1C #5B871C
triadic
#877D1C #1C877D #7D1C87
tetradic
#877D1C #1C8748 #1C2687 #871C5B
square
#877D1C #1C8748 #1C2687 #871C5B
split-complementary
#877D1C #1C5B87 #481C87
monochromatic
#221F07 #544E11 #877D1C #BAAC27 #D8CB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877D1C#FFFFFF#000000##000000
##877D1C1.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)
#897905
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#92746B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877d1c;
/* rgb */ color: rgb(135, 125, 28);
/* oklch */ color: oklch(58.1% 0.112 103.2);
Tailwind
colors: {
  custom: {
    50: '#ada261',
    500: '#877d1c',
    950: '#000000',
  },
}
SCSS
$custom: #877d1c;
$custom-light: #ada261;
$custom-dark: #000000;
JSON
{
  "hex": "#877d1c",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 54.393,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58137,
    "c": 0.11249,
    "h": 103.2
  },
  "luminance": 0.19902
}

Semantic roles & 50–950 ramp

primary
#877D1C
secondary
#4550BA
accent
#4FE93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #877D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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