#877322#877322

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

Color values

HEX#877322
RGBrgb(135, 115, 34)
HSLhsl(48, 60%, 33%)
HSVhsv(48, 75%, 53%)
CMYKcmyk(0%, 14.8%, 74.8%, 47.1%)
CIE-LABlab(48.92, -1.40, 45.27)
CIE-LCHlch(48.92, 45.29, 91.77°)
OKLaboklab(55.92% -0.0084 0.1003)
OKLCHoklch(55.92% 0.101 94.8)
XYZxyz(16.4120, 17.5288, 4.0320)
Luminance0.1753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877322 #223687
analogous
#874022 #877322 #688722
triadic
#877322 #228773 #732287
tetradic
#877322 #228740 #223687 #872268
square
#877322 #228740 #223687 #872268
split-complementary
#877322 #226887 #402287
monochromatic
#252009 #564916 #877322 #B89D2E #D3B950

Accessibility & contrast

On white

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

On black

4.51
#877322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##877322#FFFFFF#000000##FFFFFF
##8773221.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #877322;
/* rgb */ color: rgb(135, 115, 34);
/* oklch */ color: oklch(55.9% 0.101 94.8);
Tailwind
colors: {
  custom: {
    50: '#ad9b63',
    500: '#877322',
    950: '#000000',
  },
}
SCSS
$custom: #877322;
$custom-light: #ad9b63;
$custom-dark: #000000;
JSON
{
  "hex": "#877322",
  "rgb": {
    "r": 135,
    "g": 115,
    "b": 34
  },
  "hsl": {
    "h": 48.119,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55922,
    "c": 0.10062,
    "h": 94.8
  },
  "luminance": 0.17528
}

Semantic roles & 50–950 ramp

primary
#877322
secondary
#4E63B7
accent
#64E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #877322

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

Preview Lab → · Contrast checker → · Palette generator →

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