#877A1A#877A1A

#877A1A is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.4% C 0.111 H 101.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#877A1A
RGBrgb(135, 122, 26)
HSLhsl(53, 68%, 32%)
HSVhsv(53, 81%, 53%)
CMYKcmyk(0%, 9.6%, 80.7%, 47.1%)
CIE-LABlab(50.86, -5.70, 50.09)
CIE-LCHlch(50.86, 50.41, 96.49°)
OKLaboklab(57.44% -0.0214 0.1089)
OKLCHoklch(57.44% 0.111 101.1)
XYZxyz(17.1385, 19.1454, 3.7698)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A1A #1A2787
analogous
#87441A #877A1A #5E871A
triadic
#877A1A #1A877A #7A1A87
tetradic
#877A1A #1A8744 #1A2787 #871A5E
square
#877A1A #1A8744 #1A2787 #871A5E
split-complementary
#877A1A #1A5E87 #441A87
monochromatic
#201D06 #544C10 #877A1A #BAA824 #DAC841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877A1A#FFFFFF#000000##000000
##877A1A1.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)
#867602
Deuteranopia (green-blind)
#8A7B21
Tritanopia (blue-blind)
#927168
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #877a1a;
/* rgb */ color: rgb(135, 122, 26);
/* oklch */ color: oklch(57.4% 0.111 101.1);
Tailwind
colors: {
  custom: {
    50: '#aea060',
    500: '#877a1a',
    950: '#000000',
  },
}
SCSS
$custom: #877a1a;
$custom-light: #aea060;
$custom-dark: #000000;
JSON
{
  "hex": "#877a1a",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 52.844,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57442,
    "c": 0.11095,
    "h": 101.1
  },
  "luminance": 0.19145
}

Semantic roles & 50–950 ramp

primary
#877A1A
secondary
#4251BA
accent
#52EB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #877A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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