#878616#878616

#878616 is a mid, vivid yellow. Relative luminance 0.223; OKLCH L 60.2% C 0.124 H 109.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#878616
RGBrgb(135, 134, 22)
HSLhsl(59, 72%, 31%)
HSVhsv(59, 84%, 53%)
CMYKcmyk(0%, 0.7%, 83.7%, 47.1%)
CIE-LABlab(54.30, -12.41, 54.32)
CIE-LCHlch(54.30, 55.72, 102.87°)
OKLaboklab(60.18% -0.0405 0.1172)
OKLCHoklch(60.18% 0.124 109.1)
XYZxyz(18.6623, 22.2596, 4.0724)
Luminance0.2226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878616 #161787
analogous
#874D16 #878616 #4F8716
triadic
#878616 #168786 #861687
tetradic
#878616 #16874D #161787 #87164F
square
#878616 #16874D #161787 #87164F
split-complementary
#878616 #164F87 #4D1687
monochromatic
#1E1E05 #52520D #878616 #BCBA1F #DFDD39

Accessibility & contrast

On white

3.85
#878616 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#878616 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878616
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878616#FFFFFF#000000##000000
##8786161.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#938321
Tritanopia (blue-blind)
#917D72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #878616;
/* rgb */ color: rgb(135, 134, 22);
/* oklch */ color: oklch(60.2% 0.124 109.1);
Tailwind
colors: {
  custom: {
    50: '#aea960',
    500: '#878616',
    950: '#000000',
  },
}
SCSS
$custom: #878616;
$custom-light: #aea960;
$custom-dark: #000000;
JSON
{
  "hex": "#878616",
  "rgb": {
    "r": 135,
    "g": 134,
    "b": 22
  },
  "hsl": {
    "h": 59.469,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.6018,
    "c": 0.124,
    "h": 109.1
  },
  "luminance": 0.22259
}

Semantic roles & 50–950 ramp

primary
#878616
secondary
#3E3FBB
accent
#3BEF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #878616

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

Preview Lab → · Contrast checker → · Palette generator →

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