#877D2A#877D2A

#877D2A is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.2% C 0.103 H 102.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#877D2A
RGBrgb(135, 125, 42)
HSLhsl(54, 53%, 35%)
HSVhsv(54, 69%, 53%)
CMYKcmyk(0%, 7.4%, 68.9%, 47.1%)
CIE-LABlab(51.82, -6.57, 44.78)
CIE-LCHlch(51.82, 45.26, 98.35°)
OKLaboklab(58.24% -0.0221 0.1008)
OKLCHoklch(58.24% 0.103 102.4)
XYZxyz(17.7439, 19.9860, 5.1131)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D2A #2A3487
analogous
#874E2A #877D2A #63872A
triadic
#877D2A #2A877D #7D2A87
tetradic
#877D2A #2A874E #2A3487 #872A63
square
#877D2A #2A874E #2A3487 #872A63
split-complementary
#877D2A #2A6387 #4E2A87
monochromatic
#2A270D #58521B #877D2A #B6A839 #CDC15E

Accessibility & contrast

On white

4.20
#877D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#877D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877D2A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877D2A#FFFFFF#000000##000000
##877D2A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88791F
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#91746C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877d2a;
/* rgb */ color: rgb(135, 125, 42);
/* oklch */ color: oklch(58.2% 0.103 102.4);
Tailwind
colors: {
  custom: {
    50: '#ada268',
    500: '#877d2a',
    950: '#000000',
  },
}
SCSS
$custom: #877d2a;
$custom-light: #ada268;
$custom-dark: #000000;
JSON
{
  "hex": "#877d2a",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 53.548,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58242,
    "c": 0.10315,
    "h": 102.4
  },
  "luminance": 0.19985
}

Semantic roles & 50–950 ramp

primary
#877D2A
secondary
#5A64B3
accent
#5BDC4C
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #877D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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