#877332#877332

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

Color values

HEX#877332
RGBrgb(135, 115, 50)
HSLhsl(46, 46%, 36%)
HSVhsv(46, 63%, 53%)
CMYKcmyk(0%, 14.8%, 63%, 47.1%)
CIE-LABlab(49.06, -0.39, 38.05)
CIE-LCHlch(49.06, 38.05, 90.59°)
OKLaboklab(56.08% -0.0034 0.0877)
OKLCHoklch(56.08% 0.088 92.2)
XYZxyz(16.6989, 17.6435, 5.5430)
Luminance0.1764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877332 #324687
analogous
#874932 #877332 #718732
triadic
#877332 #328773 #733287
tetradic
#877332 #328749 #324687 #873271
square
#877332 #328749 #324687 #873271
split-complementary
#877332 #327187 #493287
monochromatic
#2E2711 #5A4D21 #877332 #B49943 #C8B26B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877332#FFFFFF#000000##FFFFFF
##8773321.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)
#7F712B
Deuteranopia (green-blind)
#847735
Tritanopia (blue-blind)
#926A65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #877332;
/* rgb */ color: rgb(135, 115, 50);
/* oklch */ color: oklch(56.1% 0.088 92.2);
Tailwind
colors: {
  custom: {
    50: '#ac9b6c',
    500: '#877332',
    950: '#000000',
  },
}
SCSS
$custom: #877332;
$custom-light: #ac9b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#877332",
  "rgb": {
    "r": 135,
    "g": 115,
    "b": 50
  },
  "hsl": {
    "h": 45.882,
    "s": 45.946,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56079,
    "c": 0.08781,
    "h": 92.2
  },
  "luminance": 0.17643
}

Semantic roles & 50–950 ramp

primary
#877332
secondary
#6577B0
accent
#71D652
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #877332

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

Preview Lab → · Contrast checker → · Palette generator →

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