#877E1E#877E1E

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

Color values

HEX#877E1E
RGBrgb(135, 126, 30)
HSLhsl(55, 64%, 32%)
HSVhsv(55, 78%, 53%)
CMYKcmyk(0%, 6.7%, 77.8%, 47.1%)
CIE-LABlab(52.03, -7.75, 49.77)
CIE-LCHlch(52.03, 50.37, 98.85°)
OKLaboklab(58.38% -0.0268 0.109)
OKLCHoklch(58.38% 0.112 103.8)
XYZxyz(17.6877, 20.1671, 4.1890)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877E1E #1E2787
analogous
#87491E #877E1E #5C871E
triadic
#877E1E #1E877E #7E1E87
tetradic
#877E1E #1E8749 #1E2787 #871E5C
square
#877E1E #1E8749 #1E2787 #871E5C
split-complementary
#877E1E #1E5C87 #491E87
monochromatic
#232108 #554F13 #877E1E #B9AD29 #D7CA49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877E1E#FFFFFF#000000##000000
##877E1E1.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)
#8A7A09
Deuteranopia (green-blind)
#8D7E25
Tritanopia (blue-blind)
#92756C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877e1e;
/* rgb */ color: rgb(135, 126, 30);
/* oklch */ color: oklch(58.4% 0.112 103.8);
Tailwind
colors: {
  custom: {
    50: '#ada362',
    500: '#877e1e',
    950: '#000000',
  },
}
SCSS
$custom: #877e1e;
$custom-light: #ada362;
$custom-dark: #000000;
JSON
{
  "hex": "#877e1e",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 54.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58378,
    "c": 0.11225,
    "h": 103.8
  },
  "luminance": 0.20166
}

Semantic roles & 50–950 ramp

primary
#877E1E
secondary
#4852B9
accent
#4FE741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #877E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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