#877D2E#877D2E

#877D2E is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.3% C 0.100 H 102.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#877D2E
RGBrgb(135, 125, 46)
HSLhsl(53, 49%, 35%)
HSVhsv(53, 66%, 53%)
CMYKcmyk(0%, 7.4%, 65.9%, 47.1%)
CIE-LABlab(51.86, -6.31, 43.02)
CIE-LCHlch(51.86, 43.48, 98.35°)
OKLaboklab(58.28% -0.0209 0.0977)
OKLCHoklch(58.28% 0.1 102.1)
XYZxyz(17.8191, 20.0161, 5.5091)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D2E #2E3887
analogous
#87502E #877D2E #65872E
triadic
#877D2E #2E877D #7D2E87
tetradic
#877D2E #2E8750 #2E3887 #872E65
square
#877D2E #2E8750 #2E3887 #872E65
split-complementary
#877D2E #2E6587 #502E87
monochromatic
#2C280F #59531E #877D2E #B5A73E #CABF65

Accessibility & contrast

On white

4.20
#877D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#877D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877D2E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877D2E#FFFFFF#000000##000000
##877D2E1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887924
Deuteranopia (green-blind)
#8B7E32
Tritanopia (blue-blind)
#91746C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877d2e;
/* rgb */ color: rgb(135, 125, 46);
/* oklch */ color: oklch(58.3% 0.100 102.1);
Tailwind
colors: {
  custom: {
    50: '#ada26b',
    500: '#877d2e',
    950: '#000000',
  },
}
SCSS
$custom: #877d2e;
$custom-light: #ada26b;
$custom-dark: #000000;
JSON
{
  "hex": "#877d2e",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 53.258,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5828,
    "c": 0.09992,
    "h": 102.1
  },
  "luminance": 0.20015
}

Semantic roles & 50–950 ramp

primary
#877D2E
secondary
#6069B1
accent
#5FD94F
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #877D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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