#877B1A#877B1A

#877B1A is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.7% C 0.112 H 101.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#877B1A
RGBrgb(135, 123, 26)
HSLhsl(53, 68%, 32%)
HSVhsv(53, 81%, 53%)
CMYKcmyk(0%, 8.9%, 80.7%, 47.1%)
CIE-LABlab(51.14, -6.26, 50.34)
CIE-LCHlch(51.14, 50.73, 97.08°)
OKLaboklab(57.67% -0.023 0.1094)
OKLCHoklch(57.67% 0.112 101.9)
XYZxyz(17.2619, 19.3922, 3.8109)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B1A #1A2687
analogous
#87441A #877B1A #5D871A
triadic
#877B1A #1A877B #7B1A87
tetradic
#877B1A #1A8744 #1A2687 #871A5D
square
#877B1A #1A8744 #1A2687 #871A5D
split-complementary
#877B1A #1A5D87 #441A87
monochromatic
#201D06 #544C10 #877B1A #BAAA24 #DACA41

Accessibility & contrast

On white

4.30
#877B1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#877B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877B1A
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877B1A#FFFFFF#000000##000000
##877B1A1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877701
Deuteranopia (green-blind)
#8B7C22
Tritanopia (blue-blind)
#927269
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877b1a;
/* rgb */ color: rgb(135, 123, 26);
/* oklch */ color: oklch(57.7% 0.112 101.9);
Tailwind
colors: {
  custom: {
    50: '#aea060',
    500: '#877b1a',
    950: '#000000',
  },
}
SCSS
$custom: #877b1a;
$custom-light: #aea060;
$custom-dark: #000000;
JSON
{
  "hex": "#877b1a",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 53.394,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57669,
    "c": 0.1118,
    "h": 101.9
  },
  "luminance": 0.19391
}

Semantic roles & 50–950 ramp

primary
#877B1A
secondary
#4250BA
accent
#50EB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #877B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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