#878747#878747

#878747 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.9% C 0.086 H 108.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#878747
RGBrgb(135, 135, 71)
HSLhsl(60, 31%, 40%)
HSVhsv(60, 47%, 53%)
CMYKcmyk(0%, 0%, 47.4%, 47.1%)
CIE-LABlab(55.00, -9.69, 34.20)
CIE-LCHlch(55.00, 35.55, 105.81°)
OKLaboklab(60.87% -0.0277 0.0817)
OKLCHoklch(60.87% 0.086 108.7)
XYZxyz(19.7934, 22.9342, 9.3441)
Luminance0.2293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878747 #474787
analogous
#876747 #878747 #678747
triadic
#878747 #478787 #874787
tetradic
#878747 #478767 #474787 #874767
square
#878747 #478767 #474787 #874767
split-complementary
#878747 #476787 #674787
monochromatic
#37371D #5F5F32 #878747 #ABAB60 #C0C088

Accessibility & contrast

On white

3.76
#878747 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#878747 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878747
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878747#FFFFFF#000000##000000
##8787471.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#908242
Deuteranopia (green-blind)
#91854A
Tritanopia (blue-blind)
#8F8078
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #878747;
/* rgb */ color: rgb(135, 135, 71);
/* oklch */ color: oklch(60.9% 0.086 108.7);
Tailwind
colors: {
  custom: {
    50: '#aba97c',
    500: '#878747',
    950: '#000000',
  },
}
SCSS
$custom: #878747;
$custom-light: #aba97c;
$custom-dark: #000000;
JSON
{
  "hex": "#878747",
  "rgb": {
    "r": 135,
    "g": 135,
    "b": 71
  },
  "hsl": {
    "h": 60,
    "s": 31.068,
    "l": 40.392
  },
  "oklch": {
    "l": 0.60873,
    "c": 0.08624,
    "h": 108.7
  },
  "luminance": 0.22934
}

Semantic roles & 50–950 ramp

primary
#878747
secondary
#7E7EAC
accent
#61C761
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #878747

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

Preview Lab → · Contrast checker → · Palette generator →

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