#877C1B#877C1B

#877C1B is a mid, moderate yellow. Relative luminance 0.196; 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#877C1B
RGBrgb(135, 124, 27)
HSLhsl(54, 67%, 32%)
HSVhsv(54, 80%, 53%)
CMYKcmyk(0%, 8.1%, 80%, 47.1%)
CIE-LABlab(51.43, -6.77, 50.27)
CIE-LCHlch(51.43, 50.72, 97.67°)
OKLaboklab(57.9% -0.0243 0.1095)
OKLCHoklch(57.9% 0.112 102.5)
XYZxyz(17.3980, 19.6461, 3.9124)
Luminance0.1965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C1B #1B2687
analogous
#87461B #877C1B #5C871B
triadic
#877C1B #1B877C #7C1B87
tetradic
#877C1B #1B8746 #1B2687 #871B5C
square
#877C1B #1B8746 #1B2687 #871B5C
split-complementary
#877C1B #1B5C87 #461B87
monochromatic
#211E07 #544D11 #877C1B #BAAB25 #D9CA43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877C1B#FFFFFF#000000##000000
##877C1B1.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)
#887803
Deuteranopia (green-blind)
#8B7D23
Tritanopia (blue-blind)
#92736A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877c1b;
/* rgb */ color: rgb(135, 124, 27);
/* oklch */ color: oklch(57.9% 0.112 102.5);
Tailwind
colors: {
  custom: {
    50: '#aea160',
    500: '#877c1b',
    950: '#000000',
  },
}
SCSS
$custom: #877c1b;
$custom-light: #aea160;
$custom-dark: #000000;
JSON
{
  "hex": "#877c1b",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 53.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57903,
    "c": 0.11214,
    "h": 102.5
  },
  "luminance": 0.19645
}

Semantic roles & 50–950 ramp

primary
#877C1B
secondary
#4450BA
accent
#50EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #877C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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