#877C1E#877C1E

#877C1E is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.9% C 0.110 H 102.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#877C1E
RGBrgb(135, 124, 30)
HSLhsl(54, 64%, 32%)
HSVhsv(54, 78%, 53%)
CMYKcmyk(0%, 8.1%, 77.8%, 47.1%)
CIE-LABlab(51.45, -6.65, 49.23)
CIE-LCHlch(51.45, 49.68, 97.69°)
OKLaboklab(57.92% -0.0237 0.1079)
OKLCHoklch(57.92% 0.11 102.4)
XYZxyz(17.4345, 19.6607, 4.1046)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C1E #1E2987
analogous
#87471E #877C1E #5E871E
triadic
#877C1E #1E877C #7C1E87
tetradic
#877C1E #1E8747 #1E2987 #871E5E
square
#877C1E #1E8747 #1E2987 #871E5E
split-complementary
#877C1E #1E5E87 #471E87
monochromatic
#232008 #554E13 #877C1E #B9AA29 #D7C849

Accessibility & contrast

On white

4.26
#877C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#877C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877C1E
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877C1E#FFFFFF#000000##000000
##877C1E1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780A
Deuteranopia (green-blind)
#8B7D25
Tritanopia (blue-blind)
#92736A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877c1e;
/* rgb */ color: rgb(135, 124, 30);
/* oklch */ color: oklch(57.9% 0.110 102.4);
Tailwind
colors: {
  custom: {
    50: '#ada162',
    500: '#877c1e',
    950: '#000000',
  },
}
SCSS
$custom: #877c1e;
$custom-light: #ada162;
$custom-dark: #000000;
JSON
{
  "hex": "#877c1e",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 30
  },
  "hsl": {
    "h": 53.714,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57921,
    "c": 0.11045,
    "h": 102.4
  },
  "luminance": 0.1966
}

Semantic roles & 50–950 ramp

primary
#877C1E
secondary
#4854B9
accent
#52E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #877C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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