#877421#877421

#877421 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.1% C 0.102 H 95.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#877421
RGBrgb(135, 116, 33)
HSLhsl(49, 61%, 33%)
HSVhsv(49, 76%, 53%)
CMYKcmyk(0%, 14.1%, 75.6%, 47.1%)
CIE-LABlab(49.19, -2.02, 45.94)
CIE-LCHlch(49.19, 45.99, 92.51°)
OKLaboklab(56.14% -0.0102 0.1015)
OKLCHoklch(56.14% 0.102 95.8)
XYZxyz(16.5124, 17.7524, 3.9954)
Luminance0.1775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877421 #213487
analogous
#874121 #877421 #678721
triadic
#877421 #218774 #742187
tetradic
#877421 #218741 #213487 #872167
square
#877421 #218741 #213487 #872167
split-complementary
#877421 #216787 #412187
monochromatic
#251F09 #564A15 #877421 #B89E2D #D4BB4F

Accessibility & contrast

On white

4.62
#877421 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#877421 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #877421
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877421#FFFFFF#000000##FFFFFF
##8774211.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807113
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#926B64
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #877421;
/* rgb */ color: rgb(135, 116, 33);
/* oklch */ color: oklch(56.1% 0.102 95.8);
Tailwind
colors: {
  custom: {
    50: '#ad9b62',
    500: '#877421',
    950: '#000000',
  },
}
SCSS
$custom: #877421;
$custom-light: #ad9b62;
$custom-dark: #000000;
JSON
{
  "hex": "#877421",
  "rgb": {
    "r": 135,
    "g": 116,
    "b": 33
  },
  "hsl": {
    "h": 48.824,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56137,
    "c": 0.10202,
    "h": 95.8
  },
  "luminance": 0.17751
}

Semantic roles & 50–950 ramp

primary
#877421
secondary
#4D61B7
accent
#62E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #877421

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

Preview Lab → · Contrast checker → · Palette generator →

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