#877221#877221

#877221 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.7% C 0.101 H 94.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#877221
RGBrgb(135, 114, 33)
HSLhsl(48, 61%, 33%)
HSVhsv(48, 76%, 53%)
CMYKcmyk(0%, 15.6%, 75.6%, 47.1%)
CIE-LABlab(48.63, -0.88, 45.40)
CIE-LCHlch(48.63, 45.41, 91.11°)
OKLaboklab(55.69% -0.007 0.1003)
OKLCHoklch(55.69% 0.101 94)
XYZxyz(16.2844, 17.2963, 3.9193)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877221 #213687
analogous
#873F21 #877221 #698721
triadic
#877221 #218772 #722187
tetradic
#877221 #21873F #213687 #872169
square
#877221 #21873F #213687 #872169
split-complementary
#877221 #216987 #3F2187
monochromatic
#251F09 #564815 #877221 #B89C2D #D4B84F

Accessibility & contrast

On white

4.71
#877221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#877221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #877221
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877221#FFFFFF#000000##FFFFFF
##8772211.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7014
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#926962
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #877221;
/* rgb */ color: rgb(135, 114, 33);
/* oklch */ color: oklch(55.7% 0.101 94.0);
Tailwind
colors: {
  custom: {
    50: '#ad9a62',
    500: '#877221',
    950: '#000000',
  },
}
SCSS
$custom: #877221;
$custom-light: #ad9a62;
$custom-dark: #000000;
JSON
{
  "hex": "#877221",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 47.647,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55692,
    "c": 0.10058,
    "h": 94
  },
  "luminance": 0.17295
}

Semantic roles & 50–950 ramp

primary
#877221
secondary
#4D63B7
accent
#65E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #877221

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

Preview Lab → · Contrast checker → · Palette generator →

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