#877E1B#877E1B

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

Color values

HEX#877E1B
RGBrgb(135, 126, 27)
HSLhsl(55, 67%, 32%)
HSVhsv(55, 80%, 53%)
CMYKcmyk(0%, 6.7%, 80%, 47.1%)
CIE-LABlab(52.01, -7.88, 50.79)
CIE-LCHlch(52.01, 51.40, 98.82°)
OKLaboklab(58.36% -0.0274 0.1106)
OKLCHoklch(58.36% 0.114 103.9)
XYZxyz(17.6512, 20.1525, 3.9968)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877E1B #1B2487
analogous
#87481B #877E1B #5A871B
triadic
#877E1B #1B877E #7E1B87
tetradic
#877E1B #1B8748 #1B2487 #871B5A
square
#877E1B #1B8748 #1B2487 #871B5A
split-complementary
#877E1B #1B5A87 #481B87
monochromatic
#211F07 #544E11 #877E1B #BAAE25 #D9CD43

Accessibility & contrast

On white

4.17
#877E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##877E1B#FFFFFF#000000##000000
##877E1B1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #877e1b;
/* rgb */ color: rgb(135, 126, 27);
/* oklch */ color: oklch(58.4% 0.114 103.9);
Tailwind
colors: {
  custom: {
    50: '#ada361',
    500: '#877e1b',
    950: '#000000',
  },
}
SCSS
$custom: #877e1b;
$custom-light: #ada361;
$custom-dark: #000000;
JSON
{
  "hex": "#877e1b",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 55,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58359,
    "c": 0.11393,
    "h": 103.9
  },
  "luminance": 0.20152
}

Semantic roles & 50–950 ramp

primary
#877E1B
secondary
#444EBA
accent
#4CEA3E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #877E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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