#877331#877331

#877331 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 56.1% C 0.089 H 92.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#877331
RGBrgb(135, 115, 49)
HSLhsl(46, 47%, 36%)
HSVhsv(46, 64%, 53%)
CMYKcmyk(0%, 14.8%, 63.7%, 47.1%)
CIE-LABlab(49.05, -0.47, 38.54)
CIE-LCHlch(49.05, 38.54, 90.70°)
OKLaboklab(56.07% -0.0038 0.0886)
OKLCHoklch(56.07% 0.089 92.4)
XYZxyz(16.6775, 17.6350, 5.4306)
Luminance0.1763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877331 #314587
analogous
#874831 #877331 #708731
triadic
#877331 #318773 #733187
tetradic
#877331 #318748 #314587 #873170
square
#877331 #318748 #314587 #873170
split-complementary
#877331 #317087 #483187
monochromatic
#2D2610 #5A4D21 #877331 #B49941 #C9B36A

Accessibility & contrast

On white

4.64
#877331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#877331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #877331
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877331#FFFFFF#000000##FFFFFF
##8773311.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F712A
Deuteranopia (green-blind)
#847734
Tritanopia (blue-blind)
#926A65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #877331;
/* rgb */ color: rgb(135, 115, 49);
/* oklch */ color: oklch(56.1% 0.089 92.4);
Tailwind
colors: {
  custom: {
    50: '#ad9b6c',
    500: '#877331',
    950: '#000000',
  },
}
SCSS
$custom: #877331;
$custom-light: #ad9b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#877331",
  "rgb": {
    "r": 135,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 46.047,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56068,
    "c": 0.08872,
    "h": 92.4
  },
  "luminance": 0.17634
}

Semantic roles & 50–950 ramp

primary
#877331
secondary
#6475B0
accent
#70D651
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #877331

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

Preview Lab → · Contrast checker → · Palette generator →

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