#877B2E#877B2E

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

Color values

HEX#877B2E
RGBrgb(135, 123, 46)
HSLhsl(52, 49%, 35%)
HSVhsv(52, 66%, 53%)
CMYKcmyk(0%, 8.9%, 65.9%, 47.1%)
CIE-LABlab(51.28, -5.20, 42.41)
CIE-LCHlch(51.28, 42.73, 96.99°)
OKLaboklab(57.83% -0.0177 0.0964)
OKLCHoklch(57.83% 0.098 100.4)
XYZxyz(17.5685, 19.5148, 5.4256)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B2E #2E3A87
analogous
#874E2E #877B2E #66872E
triadic
#877B2E #2E877B #7B2E87
tetradic
#877B2E #2E874E #2E3A87 #872E66
square
#877B2E #2E874E #2E3A87 #872E66
split-complementary
#877B2E #2E6687 #4E2E87
monochromatic
#2C280F #59511E #877B2E #B5A53E #CABD65

Accessibility & contrast

On white

4.28
#877B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##877B2E#FFFFFF#000000##000000
##877B2E1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#867825
Deuteranopia (green-blind)
#8A7C32
Tritanopia (blue-blind)
#91726B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877b2e;
/* rgb */ color: rgb(135, 123, 46);
/* oklch */ color: oklch(57.8% 0.098 100.4);
Tailwind
colors: {
  custom: {
    50: '#ada06b',
    500: '#877b2e',
    950: '#000000',
  },
}
SCSS
$custom: #877b2e;
$custom-light: #ada06b;
$custom-dark: #000000;
JSON
{
  "hex": "#877b2e",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 51.91,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57826,
    "c": 0.09803,
    "h": 100.4
  },
  "luminance": 0.19514
}

Semantic roles & 50–950 ramp

primary
#877B2E
secondary
#606BB1
accent
#62D94F
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #877B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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