#877C1A#877C1A

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

Color values

HEX#877C1A
RGBrgb(135, 124, 26)
HSLhsl(54, 68%, 32%)
HSVhsv(54, 81%, 53%)
CMYKcmyk(0%, 8.1%, 80.7%, 47.1%)
CIE-LABlab(51.43, -6.81, 50.60)
CIE-LCHlch(51.43, 51.06, 97.67°)
OKLaboklab(57.9% -0.0245 0.11)
OKLCHoklch(57.9% 0.113 102.6)
XYZxyz(17.3866, 19.6416, 3.8525)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C1A #1A2587
analogous
#87461A #877C1A #5C871A
triadic
#877C1A #1A877C #7C1A87
tetradic
#877C1A #1A8746 #1A2587 #871A5C
square
#877C1A #1A8746 #1A2587 #871A5C
split-complementary
#877C1A #1A5C87 #461A87
monochromatic
#201E06 #544D10 #877C1A #BAAB24 #DACB41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877C1A#FFFFFF#000000##000000
##877C1A1.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)
#887801
Deuteranopia (green-blind)
#8B7D22
Tritanopia (blue-blind)
#92736A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877c1a;
/* rgb */ color: rgb(135, 124, 26);
/* oklch */ color: oklch(57.9% 0.113 102.6);
Tailwind
colors: {
  custom: {
    50: '#aea160',
    500: '#877c1a',
    950: '#000000',
  },
}
SCSS
$custom: #877c1a;
$custom-light: #aea160;
$custom-dark: #000000;
JSON
{
  "hex": "#877c1a",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 53.945,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57897,
    "c": 0.11267,
    "h": 102.6
  },
  "luminance": 0.19641
}

Semantic roles & 50–950 ramp

primary
#877C1A
secondary
#424FBA
accent
#4FEB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #877C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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