#877B2C#877B2C

#877B2C is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.8% C 0.100 H 100.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#877B2C
RGBrgb(135, 123, 44)
HSLhsl(52, 51%, 35%)
HSVhsv(52, 67%, 53%)
CMYKcmyk(0%, 8.9%, 67.4%, 47.1%)
CIE-LABlab(51.27, -5.33, 43.31)
CIE-LCHlch(51.27, 43.64, 97.02°)
OKLaboklab(57.81% -0.0184 0.098)
OKLCHoklch(57.81% 0.1 100.6)
XYZxyz(17.5300, 19.4994, 5.2228)
Luminance0.1950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B2C #2C3887
analogous
#874E2C #877B2C #65872C
triadic
#877B2C #2C877B #7B2C87
tetradic
#877B2C #2C874E #2C3887 #872C65
square
#877B2C #2C874E #2C3887 #872C65
split-complementary
#877B2C #2C6587 #4E2C87
monochromatic
#2B270E #59511D #877B2C #B5A53B #CCBE62

Accessibility & contrast

On white

4.29
#877B2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#877B2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877B2C
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877B2C#FFFFFF#000000##000000
##877B2C1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#867722
Deuteranopia (green-blind)
#8A7C30
Tritanopia (blue-blind)
#91726B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877b2c;
/* rgb */ color: rgb(135, 123, 44);
/* oklch */ color: oklch(57.8% 0.100 100.6);
Tailwind
colors: {
  custom: {
    50: '#ada069',
    500: '#877b2c',
    950: '#000000',
  },
}
SCSS
$custom: #877b2c;
$custom-light: #ada069;
$custom-dark: #000000;
JSON
{
  "hex": "#877b2c",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 44
  },
  "hsl": {
    "h": 52.088,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57807,
    "c": 0.09969,
    "h": 100.6
  },
  "luminance": 0.19499
}

Semantic roles & 50–950 ramp

primary
#877B2C
secondary
#5D68B2
accent
#60DA4D
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #877B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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