#877B3A#877B3A

#877B3A is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.0% C 0.087 H 99.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#877B3A
RGBrgb(135, 123, 58)
HSLhsl(51, 40%, 38%)
HSVhsv(51, 57%, 53%)
CMYKcmyk(0%, 8.9%, 57%, 47.1%)
CIE-LABlab(51.41, -4.28, 36.68)
CIE-LCHlch(51.41, 36.93, 96.66°)
OKLaboklab(57.97% -0.0136 0.0858)
OKLCHoklch(57.97% 0.087 99)
XYZxyz(17.8390, 19.6230, 6.8501)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B3A #3A4687
analogous
#87543A #877B3A #6C873A
triadic
#877B3A #3A877B #7B3A87
tetradic
#877B3A #3A8754 #3A4687 #873A6C
square
#877B3A #3A8754 #3A4687 #873A6C
split-complementary
#877B3A #3A6C87 #543A87
monochromatic
#312D15 #5C5428 #877B3A #B2A24C #C5B877

Accessibility & contrast

On white

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

On black

4.92
#877B3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877B3A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877B3A#FFFFFF#000000##000000
##877B3A1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#867834
Deuteranopia (green-blind)
#897C3D
Tritanopia (blue-blind)
#91736C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877b3a;
/* rgb */ color: rgb(135, 123, 58);
/* oklch */ color: oklch(58.0% 0.087 99.0);
Tailwind
colors: {
  custom: {
    50: '#aca172',
    500: '#877b3a',
    950: '#000000',
  },
}
SCSS
$custom: #877b3a;
$custom-light: #aca172;
$custom-dark: #000000;
JSON
{
  "hex": "#877b3a",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 58
  },
  "hsl": {
    "h": 50.649,
    "s": 39.896,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57965,
    "c": 0.08688,
    "h": 99
  },
  "luminance": 0.19622
}

Semantic roles & 50–950 ramp

primary
#877B3A
secondary
#6F79AE
accent
#6BD058
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#100E08
muted
#7F7E7B

Preview Lab

Preview with #877B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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