#877B19#877B19

#877B19 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.7% C 0.112 H 101.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#877B19
RGBrgb(135, 123, 25)
HSLhsl(53, 69%, 31%)
HSVhsv(53, 81%, 53%)
CMYKcmyk(0%, 8.9%, 81.5%, 47.1%)
CIE-LABlab(51.14, -6.30, 50.67)
CIE-LCHlch(51.14, 51.06, 97.08°)
OKLaboklab(57.66% -0.0232 0.1099)
OKLCHoklch(57.66% 0.112 101.9)
XYZxyz(17.2509, 19.3878, 3.7531)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B19 #192587
analogous
#874419 #877B19 #5C8719
triadic
#877B19 #19877B #7B1987
tetradic
#877B19 #198744 #192587 #87195C
square
#877B19 #198744 #192587 #87195C
split-complementary
#877B19 #195C87 #441987
monochromatic
#201D06 #534C0F #877B19 #BBAA23 #DBCA3F

Accessibility & contrast

On white

4.31
#877B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#877B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877B19
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877B19#FFFFFF#000000##000000
##877B191.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#8B7C21
Tritanopia (blue-blind)
#927269
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877b19;
/* rgb */ color: rgb(135, 123, 25);
/* oklch */ color: oklch(57.7% 0.112 101.9);
Tailwind
colors: {
  custom: {
    50: '#aea05f',
    500: '#877b19',
    950: '#000000',
  },
}
SCSS
$custom: #877b19;
$custom-light: #aea05f;
$custom-dark: #000000;
JSON
{
  "hex": "#877b19",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 53.455,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57663,
    "c": 0.11233,
    "h": 101.9
  },
  "luminance": 0.19387
}

Semantic roles & 50–950 ramp

primary
#877B19
secondary
#414FBA
accent
#4FEC3C
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #877B19

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

Preview Lab → · Contrast checker → · Palette generator →

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