#877C1D#877C1D

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

Color values

HEX#877C1D
RGBrgb(135, 124, 29)
HSLhsl(54, 65%, 32%)
HSVhsv(54, 79%, 53%)
CMYKcmyk(0%, 8.1%, 78.5%, 47.1%)
CIE-LABlab(51.45, -6.69, 49.59)
CIE-LCHlch(51.45, 50.04, 97.68°)
OKLaboklab(57.92% -0.0239 0.1084)
OKLCHoklch(57.92% 0.111 102.4)
XYZxyz(17.4219, 19.6557, 4.0384)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C1D #1D2887
analogous
#87471D #877C1D #5D871D
triadic
#877C1D #1D877C #7C1D87
tetradic
#877C1D #1D8747 #1D2887 #871D5D
square
#877C1D #1D8747 #1D2887 #871D5D
split-complementary
#877C1D #1D5D87 #471D87
monochromatic
#221F07 #554E12 #877C1D #B9AA28 #D7C847

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877C1D#FFFFFF#000000##000000
##877C1D1.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)
#887808
Deuteranopia (green-blind)
#8B7D24
Tritanopia (blue-blind)
#92736A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877c1d;
/* rgb */ color: rgb(135, 124, 29);
/* oklch */ color: oklch(57.9% 0.111 102.4);
Tailwind
colors: {
  custom: {
    50: '#ada161',
    500: '#877c1d',
    950: '#000000',
  },
}
SCSS
$custom: #877c1d;
$custom-light: #ada161;
$custom-dark: #000000;
JSON
{
  "hex": "#877c1d",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 53.774,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57915,
    "c": 0.11102,
    "h": 102.4
  },
  "luminance": 0.19655
}

Semantic roles & 50–950 ramp

primary
#877C1D
secondary
#4652B9
accent
#52E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #877C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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