#877336#877336

#877336 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 56.1% C 0.084 H 91.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#877336
RGBrgb(135, 115, 54)
HSLhsl(45, 43%, 37%)
HSVhsv(45, 60%, 53%)
CMYKcmyk(0%, 14.8%, 60%, 47.1%)
CIE-LABlab(49.11, -0.08, 36.07)
CIE-LCHlch(49.11, 36.07, 90.13°)
OKLaboklab(56.13% -0.002 0.084)
OKLCHoklch(56.13% 0.084 91.4)
XYZxyz(16.7890, 17.6796, 6.0175)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877336 #364A87
analogous
#874B36 #877336 #738736
triadic
#877336 #368773 #733687
tetradic
#877336 #36874B #364A87 #873673
square
#877336 #36874B #364A87 #873673
split-complementary
#877336 #367387 #4B3687
monochromatic
#302913 #5B4E25 #877336 #B39847 #C6B171

Accessibility & contrast

On white

4.63
#877336 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#877336 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #877336
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877336#FFFFFF#000000##FFFFFF
##8773361.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7130
Deuteranopia (green-blind)
#837739
Tritanopia (blue-blind)
#916B65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #877336;
/* rgb */ color: rgb(135, 115, 54);
/* oklch */ color: oklch(56.1% 0.084 91.4);
Tailwind
colors: {
  custom: {
    50: '#ac9b6f',
    500: '#877336',
    950: '#000000',
  },
}
SCSS
$custom: #877336;
$custom-light: #ac9b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#877336",
  "rgb": {
    "r": 135,
    "g": 115,
    "b": 54
  },
  "hsl": {
    "h": 45.185,
    "s": 42.857,
    "l": 37.059
  },
  "oklch": {
    "l": 0.56128,
    "c": 0.08404,
    "h": 91.4
  },
  "luminance": 0.17679
}

Semantic roles & 50–950 ramp

primary
#877336
secondary
#6A7BAF
accent
#74D355
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #877336

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

Preview Lab → · Contrast checker → · Palette generator →

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