#878916#878916

#878916 is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 60.9% C 0.127 H 110.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#878916
RGBrgb(135, 137, 22)
HSLhsl(61, 72%, 31%)
HSVhsv(61, 84%, 54%)
CMYKcmyk(1.5%, 0%, 83.9%, 46.3%)
CIE-LABlab(55.18, -14.01, 55.07)
CIE-LCHlch(55.18, 56.83, 104.28°)
OKLaboklab(60.88% -0.0449 0.1188)
OKLCHoklch(60.88% 0.127 110.7)
XYZxyz(19.0829, 23.1007, 4.2126)
Luminance0.2310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878916 #181689
analogous
#895116 #878916 #4D8916
triadic
#878916 #168789 #891687
tetradic
#878916 #168951 #181689 #89164D
square
#878916 #168951 #181689 #89164D
split-complementary
#878916 #164D89 #511689
monochromatic
#1F2005 #53540E #878916 #BBBE1E #DCDF3A

Accessibility & contrast

On white

3.74
#878916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#878916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878916
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878916#FFFFFF#000000##000000
##8789161.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#958622
Tritanopia (blue-blind)
#918075
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #878916;
/* rgb */ color: rgb(135, 137, 22);
/* oklch */ color: oklch(60.9% 0.127 110.7);
Tailwind
colors: {
  custom: {
    50: '#aeab60',
    500: '#878916',
    950: '#000000',
  },
}
SCSS
$custom: #878916;
$custom-light: #aeab60;
$custom-dark: #000000;
JSON
{
  "hex": "#878916",
  "rgb": {
    "r": 135,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 61.043,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60879,
    "c": 0.12704,
    "h": 110.7
  },
  "luminance": 0.231
}

Semantic roles & 50–950 ramp

primary
#878916
secondary
#403EBD
accent
#39EF3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #878916

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

Preview Lab → · Contrast checker → · Palette generator →

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