#877B2B#877B2B

#877B2B is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.8% C 0.101 H 100.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#877B2B
RGBrgb(135, 123, 43)
HSLhsl(52, 52%, 35%)
HSVhsv(52, 68%, 53%)
CMYKcmyk(0%, 8.9%, 68.1%, 47.1%)
CIE-LABlab(51.26, -5.39, 43.75)
CIE-LCHlch(51.26, 44.08, 97.03°)
OKLaboklab(57.8% -0.0187 0.0988)
OKLCHoklch(57.8% 0.101 100.7)
XYZxyz(17.5114, 19.4920, 5.1250)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B2B #2B3787
analogous
#874D2B #877B2B #65872B
triadic
#877B2B #2B877B #7B2B87
tetradic
#877B2B #2B874D #2B3787 #872B65
square
#877B2B #2B874D #2B3787 #872B65
split-complementary
#877B2B #2B6587 #4D2B87
monochromatic
#2A260D #59511C #877B2B #B5A53A #CCBE60

Accessibility & contrast

On white

4.29
#877B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#877B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877B2B
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877B2B#FFFFFF#000000##000000
##877B2B1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877721
Deuteranopia (green-blind)
#8A7C30
Tritanopia (blue-blind)
#91726A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877b2b;
/* rgb */ color: rgb(135, 123, 43);
/* oklch */ color: oklch(57.8% 0.101 100.7);
Tailwind
colors: {
  custom: {
    50: '#ada069',
    500: '#877b2b',
    950: '#000000',
  },
}
SCSS
$custom: #877b2b;
$custom-light: #ada069;
$custom-dark: #000000;
JSON
{
  "hex": "#877b2b",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 43
  },
  "hsl": {
    "h": 52.174,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57797,
    "c": 0.1005,
    "h": 100.7
  },
  "luminance": 0.19491
}

Semantic roles & 50–950 ramp

primary
#877B2B
secondary
#5B67B2
accent
#5FDB4D
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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