#877A2C#877A2C

#877A2C is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.6% C 0.099 H 99.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#877A2C
RGBrgb(135, 122, 44)
HSLhsl(51, 51%, 35%)
HSVhsv(51, 67%, 53%)
CMYKcmyk(0%, 9.6%, 67.4%, 47.1%)
CIE-LABlab(50.98, -4.77, 43.01)
CIE-LCHlch(50.98, 43.27, 96.33°)
OKLaboklab(57.58% -0.0168 0.0974)
OKLCHoklch(57.58% 0.099 99.8)
XYZxyz(17.4066, 19.2526, 5.1816)
Luminance0.1925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A2C #2C3987
analogous
#874D2C #877A2C #66872C
triadic
#877A2C #2C877A #7A2C87
tetradic
#877A2C #2C874D #2C3987 #872C66
square
#877A2C #2C874D #2C3987 #872C66
split-complementary
#877A2C #2C6687 #4D2C87
monochromatic
#2B270E #59501D #877A2C #B5A43B #CCBD62

Accessibility & contrast

On white

4.33
#877A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#877A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877A2C
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877A2C#FFFFFF#000000##000000
##877A2C1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#867722
Deuteranopia (green-blind)
#897C30
Tritanopia (blue-blind)
#91716A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #877a2c;
/* rgb */ color: rgb(135, 122, 44);
/* oklch */ color: oklch(57.6% 0.099 99.8);
Tailwind
colors: {
  custom: {
    50: '#ada069',
    500: '#877a2c',
    950: '#000000',
  },
}
SCSS
$custom: #877a2c;
$custom-light: #ada069;
$custom-dark: #000000;
JSON
{
  "hex": "#877a2c",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 51.429,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5758,
    "c": 0.09879,
    "h": 99.8
  },
  "luminance": 0.19252
}

Semantic roles & 50–950 ramp

primary
#877A2C
secondary
#5D69B2
accent
#62DA4D
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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