#877A1B#877A1B

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

Color values

HEX#877A1B
RGBrgb(135, 122, 27)
HSLhsl(53, 67%, 32%)
HSVhsv(53, 80%, 53%)
CMYKcmyk(0%, 9.6%, 80%, 47.1%)
CIE-LABlab(50.86, -5.66, 49.75)
CIE-LCHlch(50.86, 50.07, 96.49°)
OKLaboklab(57.45% -0.0212 0.1084)
OKLCHoklch(57.45% 0.11 101.1)
XYZxyz(17.1499, 19.1499, 3.8297)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A1B #1B2887
analogous
#87441B #877A1B #5E871B
triadic
#877A1B #1B877A #7A1B87
tetradic
#877A1B #1B8744 #1B2887 #871B5E
square
#877A1B #1B8744 #1B2887 #871B5E
split-complementary
#877A1B #1B5E87 #441B87
monochromatic
#211E07 #544C11 #877A1B #BAA825 #D9C743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877A1B#FFFFFF#000000##000000
##877A1B1.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)
#867604
Deuteranopia (green-blind)
#8A7B22
Tritanopia (blue-blind)
#927168
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #877a1b;
/* rgb */ color: rgb(135, 122, 27);
/* oklch */ color: oklch(57.4% 0.110 101.1);
Tailwind
colors: {
  custom: {
    50: '#aea060',
    500: '#877a1b',
    950: '#000000',
  },
}
SCSS
$custom: #877a1b;
$custom-light: #aea060;
$custom-dark: #000000;
JSON
{
  "hex": "#877a1b",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 52.778,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57448,
    "c": 0.11041,
    "h": 101.1
  },
  "luminance": 0.19149
}

Semantic roles & 50–950 ramp

primary
#877A1B
secondary
#4452BA
accent
#53EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #877A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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