#877E2E#877E2E

#877E2E is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.5% C 0.101 H 102.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#877E2E
RGBrgb(135, 126, 46)
HSLhsl(54, 49%, 35%)
HSVhsv(54, 66%, 53%)
CMYKcmyk(0%, 6.7%, 65.9%, 47.1%)
CIE-LABlab(52.14, -6.87, 43.32)
CIE-LCHlch(52.14, 43.87, 99.01°)
OKLaboklab(58.51% -0.0225 0.0984)
OKLCHoklch(58.51% 0.101 102.9)
XYZxyz(17.9464, 20.2706, 5.5515)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877E2E #2E3787
analogous
#87522E #877E2E #63872E
triadic
#877E2E #2E877E #7E2E87
tetradic
#877E2E #2E8752 #2E3787 #872E63
square
#877E2E #2E8752 #2E3787 #872E63
split-complementary
#877E2E #2E6387 #522E87
monochromatic
#2C290F #59531E #877E2E #B5A93E #CAC065

Accessibility & contrast

On white

4.16
#877E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#877E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877E2E
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877E2E#FFFFFF#000000##000000
##877E2E1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A24
Deuteranopia (green-blind)
#8C7E33
Tritanopia (blue-blind)
#91756D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877e2e;
/* rgb */ color: rgb(135, 126, 46);
/* oklch */ color: oklch(58.5% 0.101 102.9);
Tailwind
colors: {
  custom: {
    50: '#ada36b',
    500: '#877e2e',
    950: '#000000',
  },
}
SCSS
$custom: #877e2e;
$custom-light: #ada36b;
$custom-dark: #000000;
JSON
{
  "hex": "#877e2e",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 53.933,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58507,
    "c": 0.10089,
    "h": 102.9
  },
  "luminance": 0.2027
}

Semantic roles & 50–950 ramp

primary
#877E2E
secondary
#6068B1
accent
#5DD94F
background
#FAFAF6
surface
#F5F3EB
border
#CFCDC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #877E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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