#877F2E#877F2E

#877F2E is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.7% C 0.102 H 103.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#877F2E
RGBrgb(135, 127, 46)
HSLhsl(55, 49%, 35%)
HSVhsv(55, 66%, 53%)
CMYKcmyk(0%, 5.9%, 65.9%, 47.1%)
CIE-LABlab(52.43, -7.42, 43.63)
CIE-LCHlch(52.43, 44.25, 99.65°)
OKLaboklab(58.74% -0.0241 0.099)
OKLCHoklch(58.74% 0.102 103.7)
XYZxyz(18.0749, 20.5276, 5.5944)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877F2E #2E3687
analogous
#87522E #877F2E #62872E
triadic
#877F2E #2E877F #7F2E87
tetradic
#877F2E #2E8752 #2E3687 #872E62
square
#877F2E #2E8752 #2E3687 #872E62
split-complementary
#877F2E #2E6287 #522E87
monochromatic
#2C290F #59541E #877F2E #B5AA3E #CAC165

Accessibility & contrast

On white

4.11
#877F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#877F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877F2E
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877F2E#FFFFFF#000000##000000
##877F2E1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B24
Deuteranopia (green-blind)
#8D7F33
Tritanopia (blue-blind)
#91766E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #877f2e;
/* rgb */ color: rgb(135, 127, 46);
/* oklch */ color: oklch(58.7% 0.102 103.7);
Tailwind
colors: {
  custom: {
    50: '#ada36b',
    500: '#877f2e',
    950: '#000000',
  },
}
SCSS
$custom: #877f2e;
$custom-light: #ada36b;
$custom-dark: #000000;
JSON
{
  "hex": "#877f2e",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 54.607,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58735,
    "c": 0.10188,
    "h": 103.7
  },
  "luminance": 0.20527
}

Semantic roles & 50–950 ramp

primary
#877F2E
secondary
#6067B1
accent
#5BD94F
background
#FAFAF6
surface
#F5F3EB
border
#CFCDC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #877F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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