#877D2C#877D2C

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

Color values

HEX#877D2C
RGBrgb(135, 125, 44)
HSLhsl(53, 51%, 35%)
HSVhsv(53, 67%, 53%)
CMYKcmyk(0%, 7.4%, 67.4%, 47.1%)
CIE-LABlab(51.84, -6.44, 43.91)
CIE-LCHlch(51.84, 44.38, 98.35°)
OKLaboklab(58.26% -0.0215 0.0993)
OKLCHoklch(58.26% 0.102 102.2)
XYZxyz(17.7806, 20.0007, 5.3063)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D2C #2C3687
analogous
#87502C #877D2C #63872C
triadic
#877D2C #2C877D #7D2C87
tetradic
#877D2C #2C8750 #2C3687 #872C63
square
#877D2C #2C8750 #2C3687 #872C63
split-complementary
#877D2C #2C6387 #502C87
monochromatic
#2B280E #59521D #877D2C #B5A83B #CCC062

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877D2C#FFFFFF#000000##000000
##877D2C1.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)
#887922
Deuteranopia (green-blind)
#8B7E31
Tritanopia (blue-blind)
#91746C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877d2c;
/* rgb */ color: rgb(135, 125, 44);
/* oklch */ color: oklch(58.3% 0.102 102.2);
Tailwind
colors: {
  custom: {
    50: '#ada26a',
    500: '#877d2c',
    950: '#000000',
  },
}
SCSS
$custom: #877d2c;
$custom-light: #ada26a;
$custom-dark: #000000;
JSON
{
  "hex": "#877d2c",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 53.407,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5826,
    "c": 0.10156,
    "h": 102.2
  },
  "luminance": 0.2
}

Semantic roles & 50–950 ramp

primary
#877D2C
secondary
#5D66B2
accent
#5DDA4D
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #877D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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