#877D1A#877D1A

#877D1A is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.1% C 0.114 H 103.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#877D1A
RGBrgb(135, 125, 26)
HSLhsl(54, 68%, 32%)
HSVhsv(54, 81%, 53%)
CMYKcmyk(0%, 7.4%, 80.7%, 47.1%)
CIE-LABlab(51.72, -7.37, 50.86)
CIE-LCHlch(51.72, 51.39, 98.24°)
OKLaboklab(58.13% -0.0261 0.1105)
OKLCHoklch(58.13% 0.114 103.3)
XYZxyz(17.5126, 19.8935, 3.8944)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D1A #1A2487
analogous
#87471A #877D1A #5B871A
triadic
#877D1A #1A877D #7D1A87
tetradic
#877D1A #1A8747 #1A2487 #871A5B
square
#877D1A #1A8747 #1A2487 #871A5B
split-complementary
#877D1A #1A5B87 #471A87
monochromatic
#201E06 #544D10 #877D1A #BAAD24 #DACC41

Accessibility & contrast

On white

4.22
#877D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#877D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877D1A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877D1A#FFFFFF#000000##000000
##877D1A1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#8C7D22
Tritanopia (blue-blind)
#92746B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877d1a;
/* rgb */ color: rgb(135, 125, 26);
/* oklch */ color: oklch(58.1% 0.114 103.3);
Tailwind
colors: {
  custom: {
    50: '#aea260',
    500: '#877d1a',
    950: '#000000',
  },
}
SCSS
$custom: #877d1a;
$custom-light: #aea260;
$custom-dark: #000000;
JSON
{
  "hex": "#877d1a",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 54.495,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58125,
    "c": 0.11356,
    "h": 103.3
  },
  "luminance": 0.19893
}

Semantic roles & 50–950 ramp

primary
#877D1A
secondary
#424DBA
accent
#4DEB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #877D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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