#877416#877416

#877416 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 56.1% C 0.108 H 96.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#877416
RGBrgb(135, 116, 22)
HSLhsl(50, 72%, 31%)
HSVhsv(50, 84%, 53%)
CMYKcmyk(0%, 14.1%, 83.7%, 47.1%)
CIE-LABlab(49.13, -2.47, 49.86)
CIE-LCHlch(49.13, 49.92, 92.84°)
OKLaboklab(56.07% -0.0127 0.1075)
OKLCHoklch(56.07% 0.108 96.7)
XYZxyz(16.3828, 17.7005, 3.3125)
Luminance0.1770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877416 #162987
analogous
#873C16 #877416 #618716
triadic
#877416 #168774 #741687
tetradic
#877416 #16873C #162987 #871661
square
#877416 #16873C #162987 #871661
split-complementary
#877416 #166187 #3C1687
monochromatic
#1E1A05 #52470D #877416 #BCA11F #DFC339

Accessibility & contrast

On white

4.63
#877416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#877416 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #877416
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877416#FFFFFF#000000##FFFFFF
##8774161.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#86771D
Tritanopia (blue-blind)
#926A63
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #877416;
/* rgb */ color: rgb(135, 116, 22);
/* oklch */ color: oklch(56.1% 0.108 96.7);
Tailwind
colors: {
  custom: {
    50: '#ae9b5d',
    500: '#877416',
    950: '#000000',
  },
}
SCSS
$custom: #877416;
$custom-light: #ae9b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#877416",
  "rgb": {
    "r": 135,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 49.912,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56067,
    "c": 0.10827,
    "h": 96.7
  },
  "luminance": 0.177
}

Semantic roles & 50–950 ramp

primary
#877416
secondary
#3E53BB
accent
#58EF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #877416

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

Preview Lab → · Contrast checker → · Palette generator →

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