#877A1D#877A1D

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

Color values

HEX#877A1D
RGBrgb(135, 122, 29)
HSLhsl(53, 65%, 32%)
HSVhsv(53, 79%, 53%)
CMYKcmyk(0%, 9.6%, 78.5%, 47.1%)
CIE-LABlab(50.87, -5.58, 49.06)
CIE-LCHlch(50.87, 49.38, 96.49°)
OKLaboklab(57.46% -0.0208 0.1073)
OKLCHoklch(57.46% 0.109 101)
XYZxyz(17.1738, 19.1595, 3.9557)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A1D #1D2A87
analogous
#87451D #877A1D #5F871D
triadic
#877A1D #1D877A #7A1D87
tetradic
#877A1D #1D8745 #1D2A87 #871D5F
square
#877A1D #1D8745 #1D2A87 #871D5F
split-complementary
#877A1D #1D5F87 #451D87
monochromatic
#221F07 #554C12 #877A1D #B9A828 #D7C647

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877A1D#FFFFFF#000000##000000
##877A1D1.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)
#867609
Deuteranopia (green-blind)
#8A7B24
Tritanopia (blue-blind)
#927168
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #877a1d;
/* rgb */ color: rgb(135, 122, 29);
/* oklch */ color: oklch(57.5% 0.109 101.0);
Tailwind
colors: {
  custom: {
    50: '#ada061',
    500: '#877a1d',
    950: '#000000',
  },
}
SCSS
$custom: #877a1d;
$custom-light: #ada061;
$custom-dark: #000000;
JSON
{
  "hex": "#877a1d",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 52.642,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5746,
    "c": 0.10929,
    "h": 101
  },
  "luminance": 0.19159
}

Semantic roles & 50–950 ramp

primary
#877A1D
secondary
#4654B9
accent
#55E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #877A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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