#877220#877220

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

Color values

HEX#877220
RGBrgb(135, 114, 32)
HSLhsl(48, 62%, 33%)
HSVhsv(48, 76%, 53%)
CMYKcmyk(0%, 15.6%, 76.3%, 47.1%)
CIE-LABlab(48.62, -0.93, 45.80)
CIE-LCHlch(48.62, 45.80, 91.16°)
OKLaboklab(55.68% -0.0073 0.101)
OKLCHoklch(55.68% 0.101 94.1)
XYZxyz(16.2706, 17.2907, 3.8467)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877220 #203587
analogous
#873E20 #877220 #688720
triadic
#877220 #208772 #722087
tetradic
#877220 #20873E #203587 #872068
square
#877220 #20873E #203587 #872068
split-complementary
#877220 #206887 #3E2087
monochromatic
#241E09 #564814 #877220 #B89C2C #D5B94D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877220#FFFFFF#000000##FFFFFF
##8772201.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)
#7F7012
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#926862
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #877220;
/* rgb */ color: rgb(135, 114, 32);
/* oklch */ color: oklch(55.7% 0.101 94.1);
Tailwind
colors: {
  custom: {
    50: '#ad9a62',
    500: '#877220',
    950: '#000000',
  },
}
SCSS
$custom: #877220;
$custom-light: #ad9a62;
$custom-dark: #000000;
JSON
{
  "hex": "#877220",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 47.767,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55684,
    "c": 0.10124,
    "h": 94.1
  },
  "luminance": 0.1729
}

Semantic roles & 50–950 ramp

primary
#877220
secondary
#4B61B8
accent
#64E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #877220

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

Preview Lab → · Contrast checker → · Palette generator →

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