#877B1D#877B1D

#877B1D is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.7% C 0.110 H 101.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#877B1D
RGBrgb(135, 123, 29)
HSLhsl(53, 65%, 32%)
HSVhsv(53, 79%, 53%)
CMYKcmyk(0%, 8.9%, 78.5%, 47.1%)
CIE-LABlab(51.16, -6.13, 49.32)
CIE-LCHlch(51.16, 49.70, 97.09°)
OKLaboklab(57.69% -0.0223 0.1079)
OKLCHoklch(57.69% 0.11 101.7)
XYZxyz(17.2972, 19.4063, 3.9968)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B1D #1D2987
analogous
#87461D #877B1D #5E871D
triadic
#877B1D #1D877B #7B1D87
tetradic
#877B1D #1D8746 #1D2987 #871D5E
square
#877B1D #1D8746 #1D2987 #871D5E
split-complementary
#877B1D #1D5E87 #461D87
monochromatic
#221F07 #554D12 #877B1D #B9A928 #D7C747

Accessibility & contrast

On white

4.30
#877B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#877B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877B1D
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877B1D#FFFFFF#000000##000000
##877B1D1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877708
Deuteranopia (green-blind)
#8B7C24
Tritanopia (blue-blind)
#927269
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877b1d;
/* rgb */ color: rgb(135, 123, 29);
/* oklch */ color: oklch(57.7% 0.110 101.7);
Tailwind
colors: {
  custom: {
    50: '#ada061',
    500: '#877b1d',
    950: '#000000',
  },
}
SCSS
$custom: #877b1d;
$custom-light: #ada061;
$custom-dark: #000000;
JSON
{
  "hex": "#877b1d",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 53.208,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57687,
    "c": 0.11015,
    "h": 101.7
  },
  "luminance": 0.19406
}

Semantic roles & 50–950 ramp

primary
#877B1D
secondary
#4653B9
accent
#53E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #877B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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