#877326#877326

#877326 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 56.0% C 0.098 H 94.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#877326
RGBrgb(135, 115, 38)
HSLhsl(48, 56%, 34%)
HSVhsv(48, 72%, 53%)
CMYKcmyk(0%, 14.8%, 71.9%, 47.1%)
CIE-LABlab(48.95, -1.18, 43.59)
CIE-LCHlch(48.95, 43.61, 91.56°)
OKLaboklab(55.96% -0.0073 0.0975)
OKLCHoklch(55.96% 0.098 94.3)
XYZxyz(16.4731, 17.5532, 4.3538)
Luminance0.1755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877326 #263A87
analogous
#874326 #877326 #6B8726
triadic
#877326 #268773 #732687
tetradic
#877326 #268743 #263A87 #87266B
square
#877326 #268743 #263A87 #87266B
split-complementary
#877326 #266B87 #432687
monochromatic
#27220B #574A19 #877326 #B79C33 #D0B758

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877326#FFFFFF#000000##FFFFFF
##8773261.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)
#7F711B
Deuteranopia (green-blind)
#84772A
Tritanopia (blue-blind)
#926A63
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #877326;
/* rgb */ color: rgb(135, 115, 38);
/* oklch */ color: oklch(56.0% 0.098 94.3);
Tailwind
colors: {
  custom: {
    50: '#ad9b65',
    500: '#877326',
    950: '#000000',
  },
}
SCSS
$custom: #877326;
$custom-light: #ad9b65;
$custom-dark: #000000;
JSON
{
  "hex": "#877326",
  "rgb": {
    "r": 135,
    "g": 115,
    "b": 38
  },
  "hsl": {
    "h": 47.629,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55956,
    "c": 0.09778,
    "h": 94.3
  },
  "luminance": 0.17552
}

Semantic roles & 50–950 ramp

primary
#877326
secondary
#5468B5
accent
#68DF48
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877326

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

Preview Lab → · Contrast checker → · Palette generator →

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