#877B1B#877B1B

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

Color values

HEX#877B1B
RGBrgb(135, 123, 27)
HSLhsl(53, 67%, 32%)
HSVhsv(53, 80%, 53%)
CMYKcmyk(0%, 8.9%, 80%, 47.1%)
CIE-LABlab(51.15, -6.22, 50.01)
CIE-LCHlch(51.15, 50.40, 97.09°)
OKLaboklab(57.68% -0.0228 0.1089)
OKLCHoklch(57.68% 0.111 101.8)
XYZxyz(17.2733, 19.3967, 3.8708)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B1B #1B2787
analogous
#87451B #877B1B #5D871B
triadic
#877B1B #1B877B #7B1B87
tetradic
#877B1B #1B8745 #1B2787 #871B5D
square
#877B1B #1B8745 #1B2787 #871B5D
split-complementary
#877B1B #1B5D87 #451B87
monochromatic
#211E07 #544D11 #877B1B #BAA925 #D9C943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877B1B#FFFFFF#000000##000000
##877B1B1.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)
#877703
Deuteranopia (green-blind)
#8B7C22
Tritanopia (blue-blind)
#927269
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877b1b;
/* rgb */ color: rgb(135, 123, 27);
/* oklch */ color: oklch(57.7% 0.111 101.8);
Tailwind
colors: {
  custom: {
    50: '#aea060',
    500: '#877b1b',
    950: '#000000',
  },
}
SCSS
$custom: #877b1b;
$custom-light: #aea060;
$custom-dark: #000000;
JSON
{
  "hex": "#877b1b",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 53.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57675,
    "c": 0.11127,
    "h": 101.8
  },
  "luminance": 0.19396
}

Semantic roles & 50–950 ramp

primary
#877B1B
secondary
#4451BA
accent
#51EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #877B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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