#877E1A#877E1A

#877E1A is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.4% C 0.114 H 104.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#877E1A
RGBrgb(135, 126, 26)
HSLhsl(55, 68%, 32%)
HSVhsv(55, 81%, 53%)
CMYKcmyk(0%, 6.7%, 80.7%, 47.1%)
CIE-LABlab(52.00, -7.92, 51.11)
CIE-LCHlch(52.00, 51.72, 98.80°)
OKLaboklab(58.35% -0.0276 0.1111)
OKLCHoklch(58.35% 0.114 104)
XYZxyz(17.6398, 20.1479, 3.9369)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877E1A #1A2387
analogous
#87481A #877E1A #5A871A
triadic
#877E1A #1A877E #7E1A87
tetradic
#877E1A #1A8748 #1A2387 #871A5A
square
#877E1A #1A8748 #1A2387 #871A5A
split-complementary
#877E1A #1A5A87 #481A87
monochromatic
#201E06 #544E10 #877E1A #BAAE24 #DACE41

Accessibility & contrast

On white

4.18
#877E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#877E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877E1A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877E1A#FFFFFF#000000##000000
##877E1A1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8D7E22
Tritanopia (blue-blind)
#92756C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877e1a;
/* rgb */ color: rgb(135, 126, 26);
/* oklch */ color: oklch(58.4% 0.114 104.0);
Tailwind
colors: {
  custom: {
    50: '#aea360',
    500: '#877e1a',
    950: '#000000',
  },
}
SCSS
$custom: #877e1a;
$custom-light: #aea360;
$custom-dark: #000000;
JSON
{
  "hex": "#877e1a",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 55.046,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58354,
    "c": 0.11446,
    "h": 104
  },
  "luminance": 0.20147
}

Semantic roles & 50–950 ramp

primary
#877E1A
secondary
#424CBA
accent
#4CEB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #877E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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