#878960#878960

#878960 is a mid, muted yellow. Relative luminance 0.239; OKLCH L 61.8% C 0.058 H 110.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#878960
RGBrgb(135, 137, 96)
HSLhsl(63, 18%, 46%)
HSVhsv(63, 30%, 54%)
CMYKcmyk(1.5%, 0%, 29.9%, 46.3%)
CIE-LABlab(55.97, -7.73, 21.81)
CIE-LCHlch(55.97, 23.14, 109.52°)
OKLaboklab(61.77% -0.0202 0.0546)
OKLCHoklch(61.77% 0.058 110.3)
XYZxyz(21.0487, 23.8870, 14.5659)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878960 #626089
analogous
#897660 #878960 #728960
triadic
#878960 #608789 #896087
tetradic
#878960 #608976 #626089 #896072
square
#878960 #608976 #626089 #896072
split-complementary
#878960 #607289 #766089
monochromatic
#40412E #646547 #878960 #A4A680 #BEBFA4

Accessibility & contrast

On white

3.63
#878960 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#878960 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878960
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878960#FFFFFF#000000##000000
##8789601.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F855D
Deuteranopia (green-blind)
#908762
Tritanopia (blue-blind)
#8C847E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #878960;
/* rgb */ color: rgb(135, 137, 96);
/* oklch */ color: oklch(61.8% 0.058 110.3);
Tailwind
colors: {
  custom: {
    50: '#aaab8d',
    500: '#878960',
    950: '#000000',
  },
}
SCSS
$custom: #878960;
$custom-light: #aaab8d;
$custom-dark: #000000;
JSON
{
  "hex": "#878960",
  "rgb": {
    "r": 135,
    "g": 137,
    "b": 96
  },
  "hsl": {
    "h": 62.927,
    "s": 17.597,
    "l": 45.686
  },
  "oklch": {
    "l": 0.61774,
    "c": 0.05817,
    "h": 110.3
  },
  "luminance": 0.23887
}

Semantic roles & 50–950 ramp

primary
#878960
secondary
#9897AE
accent
#6EBA71
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100C
muted
#7F7F7D

Preview Lab

Preview with #878960

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

Preview Lab → · Contrast checker → · Palette generator →

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