#877C2E#877C2E

#877C2E is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.099 H 101.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#877C2E
RGBrgb(135, 124, 46)
HSLhsl(53, 49%, 35%)
HSVhsv(53, 66%, 53%)
CMYKcmyk(0%, 8.1%, 65.9%, 47.1%)
CIE-LABlab(51.57, -5.76, 42.72)
CIE-LCHlch(51.57, 43.10, 97.68°)
OKLaboklab(58.05% -0.0193 0.0971)
OKLCHoklch(58.05% 0.099 101.3)
XYZxyz(17.6932, 19.7642, 5.4671)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C2E #2E3987
analogous
#874F2E #877C2E #65872E
triadic
#877C2E #2E877C #7C2E87
tetradic
#877C2E #2E874F #2E3987 #872E65
square
#877C2E #2E874F #2E3987 #872E65
split-complementary
#877C2E #2E6587 #4F2E87
monochromatic
#2C280F #59521E #877C2E #B5A63E #CABE65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877C2E#FFFFFF#000000##000000
##877C2E1.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)
#877825
Deuteranopia (green-blind)
#8B7D32
Tritanopia (blue-blind)
#91736C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877c2e;
/* rgb */ color: rgb(135, 124, 46);
/* oklch */ color: oklch(58.1% 0.099 101.3);
Tailwind
colors: {
  custom: {
    50: '#ada16b',
    500: '#877c2e',
    950: '#000000',
  },
}
SCSS
$custom: #877c2e;
$custom-light: #ada16b;
$custom-dark: #000000;
JSON
{
  "hex": "#877c2e",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 52.584,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58053,
    "c": 0.09897,
    "h": 101.3
  },
  "luminance": 0.19763
}

Semantic roles & 50–950 ramp

primary
#877C2E
secondary
#606AB1
accent
#60D94F
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #877C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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