#877A2E#877A2E

#877A2E is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.6% C 0.097 H 99.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#877A2E
RGBrgb(135, 122, 46)
HSLhsl(51, 49%, 35%)
HSVhsv(51, 66%, 53%)
CMYKcmyk(0%, 9.6%, 65.9%, 47.1%)
CIE-LABlab(51.00, -4.64, 42.11)
CIE-LCHlch(51.00, 42.36, 96.29°)
OKLaboklab(57.6% -0.0161 0.0958)
OKLCHoklch(57.6% 0.097 99.6)
XYZxyz(17.4451, 19.2680, 5.3844)
Luminance0.1927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A2E #2E3B87
analogous
#874D2E #877A2E #67872E
triadic
#877A2E #2E877A #7A2E87
tetradic
#877A2E #2E874D #2E3B87 #872E67
square
#877A2E #2E874D #2E3B87 #872E67
split-complementary
#877A2E #2E6787 #4D2E87
monochromatic
#2C270F #59511E #877A2E #B5A33E #CABC65

Accessibility & contrast

On white

4.33
#877A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#877A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877A2E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877A2E#FFFFFF#000000##000000
##877A2E1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#857725
Deuteranopia (green-blind)
#897C32
Tritanopia (blue-blind)
#91716A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #877a2e;
/* rgb */ color: rgb(135, 122, 46);
/* oklch */ color: oklch(57.6% 0.097 99.6);
Tailwind
colors: {
  custom: {
    50: '#ada06a',
    500: '#877a2e',
    950: '#000000',
  },
}
SCSS
$custom: #877a2e;
$custom-light: #ada06a;
$custom-dark: #000000;
JSON
{
  "hex": "#877a2e",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 51.236,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.576,
    "c": 0.09712,
    "h": 99.6
  },
  "luminance": 0.19267
}

Semantic roles & 50–950 ramp

primary
#877A2E
secondary
#606CB1
accent
#63D94F
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #877A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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