#877D2D#877D2D

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

Color values

HEX#877D2D
RGBrgb(135, 125, 45)
HSLhsl(53, 50%, 35%)
HSVhsv(53, 67%, 53%)
CMYKcmyk(0%, 7.4%, 66.7%, 47.1%)
CIE-LABlab(51.85, -6.38, 43.47)
CIE-LCHlch(51.85, 43.93, 98.35°)
OKLaboklab(58.27% -0.0212 0.0985)
OKLCHoklch(58.27% 0.101 102.2)
XYZxyz(17.7997, 20.0083, 5.4065)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D2D #2D3787
analogous
#87502D #877D2D #64872D
triadic
#877D2D #2D877D #7D2D87
tetradic
#877D2D #2D8750 #2D3787 #872D64
square
#877D2D #2D8750 #2D3787 #872D64
split-complementary
#877D2D #2D6487 #502D87
monochromatic
#2B280E #59521E #877D2D #B5A73C #CBC063

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877D2D#FFFFFF#000000##000000
##877D2D1.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)
#887923
Deuteranopia (green-blind)
#8B7E32
Tritanopia (blue-blind)
#91746C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877d2d;
/* rgb */ color: rgb(135, 125, 45);
/* oklch */ color: oklch(58.3% 0.101 102.2);
Tailwind
colors: {
  custom: {
    50: '#ada26a',
    500: '#877d2d',
    950: '#000000',
  },
}
SCSS
$custom: #877d2d;
$custom-light: #ada26a;
$custom-dark: #000000;
JSON
{
  "hex": "#877d2d",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 53.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5827,
    "c": 0.10074,
    "h": 102.2
  },
  "luminance": 0.20008
}

Semantic roles & 50–950 ramp

primary
#877D2D
secondary
#5E67B2
accent
#5EDA4E
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #877D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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