#877C1C#877C1C

#877C1C is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.9% C 0.112 H 102.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#877C1C
RGBrgb(135, 124, 28)
HSLhsl(54, 66%, 32%)
HSVhsv(54, 79%, 53%)
CMYKcmyk(0%, 8.1%, 79.3%, 47.1%)
CIE-LABlab(51.44, -6.73, 49.93)
CIE-LCHlch(51.44, 50.38, 97.68°)
OKLaboklab(57.91% -0.0241 0.109)
OKLCHoklch(57.91% 0.112 102.5)
XYZxyz(17.4097, 19.6508, 3.9743)
Luminance0.1965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C1C #1C2787
analogous
#87471C #877C1C #5D871C
triadic
#877C1C #1C877C #7C1C87
tetradic
#877C1C #1C8747 #1C2787 #871C5D
square
#877C1C #1C8747 #1C2787 #871C5D
split-complementary
#877C1C #1C5D87 #471C87
monochromatic
#221F07 #544D11 #877C1C #BAAB27 #D8C945

Accessibility & contrast

On white

4.26
#877C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#877C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877C1C
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877C1C#FFFFFF#000000##000000
##877C1C1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887805
Deuteranopia (green-blind)
#8B7D23
Tritanopia (blue-blind)
#92736A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877c1c;
/* rgb */ color: rgb(135, 124, 28);
/* oklch */ color: oklch(57.9% 0.112 102.5);
Tailwind
colors: {
  custom: {
    50: '#ada161',
    500: '#877c1c',
    950: '#000000',
  },
}
SCSS
$custom: #877c1c;
$custom-light: #ada161;
$custom-dark: #000000;
JSON
{
  "hex": "#877c1c",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 53.832,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57909,
    "c": 0.1116,
    "h": 102.5
  },
  "luminance": 0.1965
}

Semantic roles & 50–950 ramp

primary
#877C1C
secondary
#4551BA
accent
#51E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #877C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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