#877D2B#877D2B

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

Color values

HEX#877D2B
RGBrgb(135, 125, 43)
HSLhsl(53, 52%, 35%)
HSVhsv(53, 68%, 53%)
CMYKcmyk(0%, 7.4%, 68.1%, 47.1%)
CIE-LABlab(51.83, -6.51, 44.35)
CIE-LCHlch(51.83, 44.82, 98.35°)
OKLaboklab(58.25% -0.0218 0.1)
OKLCHoklch(58.25% 0.102 102.3)
XYZxyz(17.7621, 19.9933, 5.2085)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D2B #2B3587
analogous
#874F2B #877D2B #63872B
triadic
#877D2B #2B877D #7D2B87
tetradic
#877D2B #2B874F #2B3587 #872B63
square
#877D2B #2B874F #2B3587 #872B63
split-complementary
#877D2B #2B6387 #4F2B87
monochromatic
#2A270D #59521C #877D2B #B5A83A #CCC160

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877D2B#FFFFFF#000000##000000
##877D2B1.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)
#887920
Deuteranopia (green-blind)
#8B7E30
Tritanopia (blue-blind)
#91746C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877d2b;
/* rgb */ color: rgb(135, 125, 43);
/* oklch */ color: oklch(58.3% 0.102 102.3);
Tailwind
colors: {
  custom: {
    50: '#ada269',
    500: '#877d2b',
    950: '#000000',
  },
}
SCSS
$custom: #877d2b;
$custom-light: #ada269;
$custom-dark: #000000;
JSON
{
  "hex": "#877d2b",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 53.478,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58251,
    "c": 0.10237,
    "h": 102.3
  },
  "luminance": 0.19993
}

Semantic roles & 50–950 ramp

primary
#877D2B
secondary
#5B65B2
accent
#5CDB4D
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #877D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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