#877A1C#877A1C

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

Color values

HEX#877A1C
RGBrgb(135, 122, 28)
HSLhsl(53, 66%, 32%)
HSVhsv(53, 79%, 53%)
CMYKcmyk(0%, 9.6%, 79.3%, 47.1%)
CIE-LABlab(50.87, -5.62, 49.41)
CIE-LCHlch(50.87, 49.73, 96.49°)
OKLaboklab(57.45% -0.021 0.1078)
OKLCHoklch(57.45% 0.11 101)
XYZxyz(17.1616, 19.1546, 3.8916)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A1C #1C2987
analogous
#87441C #877A1C #5F871C
triadic
#877A1C #1C877A #7A1C87
tetradic
#877A1C #1C8744 #1C2987 #871C5F
square
#877A1C #1C8744 #1C2987 #871C5F
split-complementary
#877A1C #1C5F87 #441C87
monochromatic
#221E07 #544C11 #877A1C #BAA827 #D8C745

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877A1C#FFFFFF#000000##000000
##877A1C1.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)
#867606
Deuteranopia (green-blind)
#8A7B23
Tritanopia (blue-blind)
#927168
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #877a1c;
/* rgb */ color: rgb(135, 122, 28);
/* oklch */ color: oklch(57.5% 0.110 101.0);
Tailwind
colors: {
  custom: {
    50: '#ada061',
    500: '#877a1c',
    950: '#000000',
  },
}
SCSS
$custom: #877a1c;
$custom-light: #ada061;
$custom-dark: #000000;
JSON
{
  "hex": "#877a1c",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 52.71,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57454,
    "c": 0.10986,
    "h": 101
  },
  "luminance": 0.19154
}

Semantic roles & 50–950 ramp

primary
#877A1C
secondary
#4553BA
accent
#54E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #877A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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