#877231#877231

#877231 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.8% C 0.088 H 91.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#877231
RGBrgb(135, 114, 49)
HSLhsl(45, 47%, 36%)
HSVhsv(45, 64%, 53%)
CMYKcmyk(0%, 15.6%, 63.7%, 47.1%)
CIE-LABlab(48.77, 0.10, 38.22)
CIE-LCHlch(48.77, 38.22, 89.85°)
OKLaboklab(55.85% -0.0021 0.088)
OKLCHoklch(55.85% 0.088 91.4)
XYZxyz(16.5641, 17.4082, 5.3928)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877231 #314687
analogous
#874731 #877231 #718731
triadic
#877231 #318772 #723187
tetradic
#877231 #318747 #314687 #873171
square
#877231 #318747 #314687 #873171
split-complementary
#877231 #317187 #473187
monochromatic
#2D2610 #5A4C21 #877231 #B49841 #C9B26A

Accessibility & contrast

On white

4.69
#877231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#877231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #877231
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877231#FFFFFF#000000##FFFFFF
##8772311.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E702A
Deuteranopia (green-blind)
#837634
Tritanopia (blue-blind)
#926964
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #877231;
/* rgb */ color: rgb(135, 114, 49);
/* oklch */ color: oklch(55.8% 0.088 91.4);
Tailwind
colors: {
  custom: {
    50: '#ad9a6c',
    500: '#877231',
    950: '#000000',
  },
}
SCSS
$custom: #877231;
$custom-light: #ad9a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#877231",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 45.349,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.55846,
    "c": 0.088,
    "h": 91.4
  },
  "luminance": 0.17407
}

Semantic roles & 50–950 ramp

primary
#877231
secondary
#6476B0
accent
#72D651
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #877231

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

Preview Lab → · Contrast checker → · Palette generator →

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