#877121#877121

#877121 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.5% C 0.100 H 93.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#877121
RGBrgb(135, 113, 33)
HSLhsl(47, 61%, 33%)
HSVhsv(47, 76%, 53%)
CMYKcmyk(0%, 16.3%, 75.6%, 47.1%)
CIE-LABlab(48.35, -0.31, 45.12)
CIE-LCHlch(48.35, 45.13, 90.39°)
OKLaboklab(55.47% -0.0054 0.0998)
OKLCHoklch(55.47% 0.1 93.1)
XYZxyz(16.1722, 17.0719, 3.8819)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877121 #213787
analogous
#873E21 #877121 #6A8721
triadic
#877121 #218771 #712187
tetradic
#877121 #21873E #213787 #87216A
square
#877121 #21873E #213787 #87216A
split-complementary
#877121 #216A87 #3E2187
monochromatic
#251F09 #564815 #877121 #B89A2D #D4B74F

Accessibility & contrast

On white

4.76
#877121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#877121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #877121
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877121#FFFFFF#000000##FFFFFF
##8771211.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F14
Deuteranopia (green-blind)
#837626
Tritanopia (blue-blind)
#926761
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #877121;
/* rgb */ color: rgb(135, 113, 33);
/* oklch */ color: oklch(55.5% 0.100 93.1);
Tailwind
colors: {
  custom: {
    50: '#ad9962',
    500: '#877121',
    950: '#000000',
  },
}
SCSS
$custom: #877121;
$custom-light: #ad9962;
$custom-dark: #000000;
JSON
{
  "hex": "#877121",
  "rgb": {
    "r": 135,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 47.059,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5547,
    "c": 0.0999,
    "h": 93.1
  },
  "luminance": 0.17071
}

Semantic roles & 50–950 ramp

primary
#877121
secondary
#4D64B7
accent
#66E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D05
muted
#807E7A

Preview Lab

Preview with #877121

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

Preview Lab → · Contrast checker → · Palette generator →

#877121 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva