#877C2C#877C2C

#877C2C is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.0% C 0.101 H 101.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#877C2C
RGBrgb(135, 124, 44)
HSLhsl(53, 51%, 35%)
HSVhsv(53, 67%, 53%)
CMYKcmyk(0%, 8.1%, 67.4%, 47.1%)
CIE-LABlab(51.55, -5.89, 43.61)
CIE-LCHlch(51.55, 44.00, 97.69°)
OKLaboklab(58.03% -0.02 0.0986)
OKLCHoklch(58.03% 0.101 101.4)
XYZxyz(17.6547, 19.7488, 5.2643)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C2C #2C3787
analogous
#874E2C #877C2C #65872C
triadic
#877C2C #2C877C #7C2C87
tetradic
#877C2C #2C874E #2C3787 #872C65
square
#877C2C #2C874E #2C3787 #872C65
split-complementary
#877C2C #2C6587 #4E2C87
monochromatic
#2B270E #59521D #877C2C #B5A63B #CCBF62

Accessibility & contrast

On white

4.24
#877C2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#877C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877C2C
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877C2C#FFFFFF#000000##000000
##877C2C1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877822
Deuteranopia (green-blind)
#8B7D31
Tritanopia (blue-blind)
#91736B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877c2c;
/* rgb */ color: rgb(135, 124, 44);
/* oklch */ color: oklch(58.0% 0.101 101.4);
Tailwind
colors: {
  custom: {
    50: '#ada169',
    500: '#877c2c',
    950: '#000000',
  },
}
SCSS
$custom: #877c2c;
$custom-light: #ada169;
$custom-dark: #000000;
JSON
{
  "hex": "#877c2c",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 44
  },
  "hsl": {
    "h": 52.747,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58033,
    "c": 0.10062,
    "h": 101.4
  },
  "luminance": 0.19748
}

Semantic roles & 50–950 ramp

primary
#877C2C
secondary
#5D67B2
accent
#5FDA4D
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #877C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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