#878116#878116

#878116 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.0% C 0.119 H 106.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#878116
RGBrgb(135, 129, 22)
HSLhsl(57, 72%, 31%)
HSVhsv(57, 84%, 53%)
CMYKcmyk(0%, 4.4%, 83.7%, 47.1%)
CIE-LABlab(52.85, -9.71, 53.08)
CIE-LCHlch(52.85, 53.96, 100.36°)
OKLaboklab(59.02% -0.033 0.1145)
OKLCHoklch(59.02% 0.119 106.1)
XYZxyz(17.9875, 20.9100, 3.8474)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878116 #161C87
analogous
#874816 #878116 #548716
triadic
#878116 #168781 #811687
tetradic
#878116 #168748 #161C87 #871654
square
#878116 #168748 #161C87 #871654
split-complementary
#878116 #165487 #481687
monochromatic
#1E1C05 #524F0D #878116 #BCB31F #DFD639

Accessibility & contrast

On white

4.05
#878116 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#878116 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878116
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878116#FFFFFF#000000##000000
##8781161.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8F8020
Tritanopia (blue-blind)
#92786E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #878116;
/* rgb */ color: rgb(135, 129, 22);
/* oklch */ color: oklch(59.0% 0.119 106.1);
Tailwind
colors: {
  custom: {
    50: '#aea55f',
    500: '#878116',
    950: '#000000',
  },
}
SCSS
$custom: #878116;
$custom-light: #aea55f;
$custom-dark: #000000;
JSON
{
  "hex": "#878116",
  "rgb": {
    "r": 135,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 56.814,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59022,
    "c": 0.11916,
    "h": 106.1
  },
  "luminance": 0.20909
}

Semantic roles & 50–950 ramp

primary
#878116
secondary
#3E44BB
accent
#43EF39
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #878116

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

Preview Lab → · Contrast checker → · Palette generator →

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