#877C19#877C19

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

Color values

HEX#877C19
RGBrgb(135, 124, 25)
HSLhsl(54, 69%, 31%)
HSVhsv(54, 81%, 53%)
CMYKcmyk(0%, 8.1%, 81.5%, 47.1%)
CIE-LABlab(51.42, -6.85, 50.92)
CIE-LCHlch(51.42, 51.38, 97.66°)
OKLaboklab(57.89% -0.0247 0.1105)
OKLCHoklch(57.89% 0.113 102.6)
XYZxyz(17.3756, 19.6372, 3.7946)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C19 #192487
analogous
#874519 #877C19 #5B8719
triadic
#877C19 #19877C #7C1987
tetradic
#877C19 #198745 #192487 #87195B
square
#877C19 #198745 #192487 #87195B
split-complementary
#877C19 #195B87 #451987
monochromatic
#201D06 #534D0F #877C19 #BBAB23 #DBCC3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877C19#FFFFFF#000000##000000
##877C191.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)
#887800
Deuteranopia (green-blind)
#8C7D21
Tritanopia (blue-blind)
#92736A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877c19;
/* rgb */ color: rgb(135, 124, 25);
/* oklch */ color: oklch(57.9% 0.113 102.6);
Tailwind
colors: {
  custom: {
    50: '#aea160',
    500: '#877c19',
    950: '#000000',
  },
}
SCSS
$custom: #877c19;
$custom-light: #aea160;
$custom-dark: #000000;
JSON
{
  "hex": "#877c19",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 25
  },
  "hsl": {
    "h": 54,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57891,
    "c": 0.11319,
    "h": 102.6
  },
  "luminance": 0.19636
}

Semantic roles & 50–950 ramp

primary
#877C19
secondary
#414DBA
accent
#4EEC3C
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #877C19

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

Preview Lab → · Contrast checker → · Palette generator →

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