#877A2A#877A2A

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

Color values

HEX#877A2A
RGBrgb(135, 122, 42)
HSLhsl(52, 53%, 35%)
HSVhsv(52, 69%, 53%)
CMYKcmyk(0%, 9.6%, 68.9%, 47.1%)
CIE-LABlab(50.96, -4.90, 43.89)
CIE-LCHlch(50.96, 44.16, 96.37°)
OKLaboklab(57.56% -0.0174 0.0989)
OKLCHoklch(57.56% 0.1 100)
XYZxyz(17.3699, 19.2379, 4.9884)
Luminance0.1924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A2A #2A3787
analogous
#874C2A #877A2A #66872A
triadic
#877A2A #2A877A #7A2A87
tetradic
#877A2A #2A874C #2A3787 #872A66
square
#877A2A #2A874C #2A3787 #872A66
split-complementary
#877A2A #2A6687 #4C2A87
monochromatic
#2A260D #58501B #877A2A #B6A439 #CDBE5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877A2A#FFFFFF#000000##000000
##877A2A1.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)
#86771F
Deuteranopia (green-blind)
#897C2F
Tritanopia (blue-blind)
#91716A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #877a2a;
/* rgb */ color: rgb(135, 122, 42);
/* oklch */ color: oklch(57.6% 0.100 100.0);
Tailwind
colors: {
  custom: {
    50: '#ada068',
    500: '#877a2a',
    950: '#000000',
  },
}
SCSS
$custom: #877a2a;
$custom-light: #ada068;
$custom-dark: #000000;
JSON
{
  "hex": "#877a2a",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 51.613,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57562,
    "c": 0.10039,
    "h": 100
  },
  "luminance": 0.19237
}

Semantic roles & 50–950 ramp

primary
#877A2A
secondary
#5A66B3
accent
#60DC4C
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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