#877B2A#877B2A

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

Color values

HEX#877B2A
RGBrgb(135, 123, 42)
HSLhsl(52, 53%, 35%)
HSVhsv(52, 69%, 53%)
CMYKcmyk(0%, 8.9%, 68.9%, 47.1%)
CIE-LABlab(51.25, -5.46, 44.19)
CIE-LCHlch(51.25, 44.52, 97.04°)
OKLaboklab(57.79% -0.019 0.0995)
OKLCHoklch(57.79% 0.101 100.8)
XYZxyz(17.4933, 19.4847, 5.0295)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B2A #2A3687
analogous
#874D2A #877B2A #65872A
triadic
#877B2A #2A877B #7B2A87
tetradic
#877B2A #2A874D #2A3687 #872A65
square
#877B2A #2A874D #2A3687 #872A65
split-complementary
#877B2A #2A6587 #4D2A87
monochromatic
#2A260D #58501B #877B2A #B6A639 #CDBF5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877B2A#FFFFFF#000000##000000
##877B2A1.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)
#87771F
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#91726A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877b2a;
/* rgb */ color: rgb(135, 123, 42);
/* oklch */ color: oklch(57.8% 0.101 100.8);
Tailwind
colors: {
  custom: {
    50: '#ada068',
    500: '#877b2a',
    950: '#000000',
  },
}
SCSS
$custom: #877b2a;
$custom-light: #ada068;
$custom-dark: #000000;
JSON
{
  "hex": "#877b2a",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 52.258,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57788,
    "c": 0.10129,
    "h": 100.8
  },
  "luminance": 0.19484
}

Semantic roles & 50–950 ramp

primary
#877B2A
secondary
#5A65B3
accent
#5EDC4C
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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