#877F2A#877F2A

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

Color values

HEX#877F2A
RGBrgb(135, 127, 42)
HSLhsl(55, 53%, 35%)
HSVhsv(55, 69%, 53%)
CMYKcmyk(0%, 5.9%, 68.9%, 47.1%)
CIE-LABlab(52.40, -7.68, 45.37)
CIE-LCHlch(52.40, 46.01, 99.60°)
OKLaboklab(58.7% -0.0253 0.102)
OKLCHoklch(58.7% 0.105 103.9)
XYZxyz(17.9997, 20.4975, 5.1983)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877F2A #2A3287
analogous
#87512A #877F2A #60872A
triadic
#877F2A #2A877F #7F2A87
tetradic
#877F2A #2A8751 #2A3287 #872A60
square
#877F2A #2A8751 #2A3287 #872A60
split-complementary
#877F2A #2A6087 #512A87
monochromatic
#2A270D #58531B #877F2A #B6AB39 #CDC45E

Accessibility & contrast

On white

4.12
#877F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#877F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877F2A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877F2A#FFFFFF#000000##000000
##877F2A1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #877f2a;
/* rgb */ color: rgb(135, 127, 42);
/* oklch */ color: oklch(58.7% 0.105 103.9);
Tailwind
colors: {
  custom: {
    50: '#ada369',
    500: '#877f2a',
    950: '#000000',
  },
}
SCSS
$custom: #877f2a;
$custom-light: #ada369;
$custom-dark: #000000;
JSON
{
  "hex": "#877f2a",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 54.839,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58698,
    "c": 0.10508,
    "h": 103.9
  },
  "luminance": 0.20497
}

Semantic roles & 50–950 ramp

primary
#877F2A
secondary
#5A62B3
accent
#58DC4C
background
#FAFAF6
surface
#F5F3EB
border
#CFCDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #877F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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