#877321#877321

#877321 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.9% C 0.101 H 94.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#877321
RGBrgb(135, 115, 33)
HSLhsl(48, 61%, 33%)
HSVhsv(48, 76%, 53%)
CMYKcmyk(0%, 14.8%, 75.6%, 47.1%)
CIE-LABlab(48.91, -1.45, 45.67)
CIE-LCHlch(48.91, 45.69, 91.82°)
OKLaboklab(55.91% -0.0086 0.1009)
OKLCHoklch(55.91% 0.101 94.9)
XYZxyz(16.3978, 17.5231, 3.9571)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877321 #213587
analogous
#874021 #877321 #688721
triadic
#877321 #218773 #732187
tetradic
#877321 #218740 #213587 #872168
square
#877321 #218740 #213587 #872168
split-complementary
#877321 #216887 #402187
monochromatic
#251F09 #564915 #877321 #B89D2D #D4BA4F

Accessibility & contrast

On white

4.66
#877321 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#877321 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #877321
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877321#FFFFFF#000000##FFFFFF
##8773211.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#926A63
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #877321;
/* rgb */ color: rgb(135, 115, 33);
/* oklch */ color: oklch(55.9% 0.101 94.9);
Tailwind
colors: {
  custom: {
    50: '#ad9b62',
    500: '#877321',
    950: '#000000',
  },
}
SCSS
$custom: #877321;
$custom-light: #ad9b62;
$custom-dark: #000000;
JSON
{
  "hex": "#877321",
  "rgb": {
    "r": 135,
    "g": 115,
    "b": 33
  },
  "hsl": {
    "h": 48.235,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55914,
    "c": 0.10129,
    "h": 94.9
  },
  "luminance": 0.17522
}

Semantic roles & 50–950 ramp

primary
#877321
secondary
#4D62B7
accent
#63E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #877321

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

Preview Lab → · Contrast checker → · Palette generator →

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