#877E1C#877E1C

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

Color values

HEX#877E1C
RGBrgb(135, 126, 28)
HSLhsl(55, 66%, 32%)
HSVhsv(55, 79%, 53%)
CMYKcmyk(0%, 6.7%, 79.3%, 47.1%)
CIE-LABlab(52.01, -7.84, 50.46)
CIE-LCHlch(52.01, 51.06, 98.83°)
OKLaboklab(58.37% -0.0272 0.1101)
OKLCHoklch(58.37% 0.113 103.9)
XYZxyz(17.6629, 20.1572, 4.0587)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877E1C #1C2587
analogous
#87491C #877E1C #5B871C
triadic
#877E1C #1C877E #7E1C87
tetradic
#877E1C #1C8749 #1C2587 #871C5B
square
#877E1C #1C8749 #1C2587 #871C5B
split-complementary
#877E1C #1C5B87 #491C87
monochromatic
#221F07 #544F11 #877E1C #BAAD27 #D8CC45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877E1C#FFFFFF#000000##000000
##877E1C1.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)
#8A7A04
Deuteranopia (green-blind)
#8D7E24
Tritanopia (blue-blind)
#92756C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877e1c;
/* rgb */ color: rgb(135, 126, 28);
/* oklch */ color: oklch(58.4% 0.113 103.9);
Tailwind
colors: {
  custom: {
    50: '#ada361',
    500: '#877e1c',
    950: '#000000',
  },
}
SCSS
$custom: #877e1c;
$custom-light: #ada361;
$custom-dark: #000000;
JSON
{
  "hex": "#877e1c",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 54.953,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58365,
    "c": 0.1134,
    "h": 103.9
  },
  "luminance": 0.20156
}

Semantic roles & 50–950 ramp

primary
#877E1C
secondary
#454FBA
accent
#4DE93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #877E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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