#877A1E#877A1E

#877A1E is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.5% C 0.109 H 100.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#877A1E
RGBrgb(135, 122, 30)
HSLhsl(53, 64%, 32%)
HSVhsv(53, 78%, 53%)
CMYKcmyk(0%, 9.6%, 77.8%, 47.1%)
CIE-LABlab(50.88, -5.53, 48.70)
CIE-LCHlch(50.88, 49.02, 96.48°)
OKLaboklab(57.47% -0.0205 0.1067)
OKLCHoklch(57.47% 0.109 100.9)
XYZxyz(17.1864, 19.1645, 4.0219)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A1E #1E2B87
analogous
#87451E #877A1E #60871E
triadic
#877A1E #1E877A #7A1E87
tetradic
#877A1E #1E8745 #1E2B87 #871E60
square
#877A1E #1E8745 #1E2B87 #871E60
split-complementary
#877A1E #1E6087 #451E87
monochromatic
#231F08 #554D13 #877A1E #B9A729 #D7C549

Accessibility & contrast

On white

4.35
#877A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#877A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877A1E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877A1E#FFFFFF#000000##000000
##877A1E1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86760B
Deuteranopia (green-blind)
#8A7B25
Tritanopia (blue-blind)
#927168
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #877a1e;
/* rgb */ color: rgb(135, 122, 30);
/* oklch */ color: oklch(57.5% 0.109 100.9);
Tailwind
colors: {
  custom: {
    50: '#ada062',
    500: '#877a1e',
    950: '#000000',
  },
}
SCSS
$custom: #877a1e;
$custom-light: #ada062;
$custom-dark: #000000;
JSON
{
  "hex": "#877a1e",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 52.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57467,
    "c": 0.1087,
    "h": 100.9
  },
  "luminance": 0.19164
}

Semantic roles & 50–950 ramp

primary
#877A1E
secondary
#4856B9
accent
#56E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #877A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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