#878956#878956

#878956 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.6% C 0.071 H 110.2°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#878956
RGBrgb(135, 137, 86)
HSLhsl(62, 23%, 44%)
HSVhsv(62, 37%, 54%)
CMYKcmyk(1.5%, 0%, 37.2%, 46.3%)
CIE-LABlab(55.80, -9.06, 27.13)
CIE-LCHlch(55.80, 28.60, 108.47°)
OKLaboklab(61.58% -0.0246 0.0667)
OKLCHoklch(61.58% 0.071 110.2)
XYZxyz(20.6172, 23.7144, 12.2935)
Luminance0.2371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878956 #585689
analogous
#897156 #878956 #6D8956
triadic
#878956 #568789 #895687
tetradic
#878956 #568971 #585689 #89566D
square
#878956 #568971 #585689 #89566D
split-complementary
#878956 #566D89 #715689
monochromatic
#3D3E27 #62633E #878956 #A6A874 #BEC09A

Accessibility & contrast

On white

3.66
#878956 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#878956 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878956
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878956#FFFFFF#000000##000000
##8789561.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918552
Deuteranopia (green-blind)
#918758
Tritanopia (blue-blind)
#8D837C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #878956;
/* rgb */ color: rgb(135, 137, 86);
/* oklch */ color: oklch(61.6% 0.071 110.2);
Tailwind
colors: {
  custom: {
    50: '#abab86',
    500: '#878956',
    950: '#000000',
  },
}
SCSS
$custom: #878956;
$custom-light: #abab86;
$custom-dark: #000000;
JSON
{
  "hex": "#878956",
  "rgb": {
    "r": 135,
    "g": 137,
    "b": 86
  },
  "hsl": {
    "h": 62.353,
    "s": 22.87,
    "l": 43.725
  },
  "oklch": {
    "l": 0.61579,
    "c": 0.07103,
    "h": 110.2
  },
  "luminance": 0.23714
}

Semantic roles & 50–950 ramp

primary
#878956
secondary
#8F8EAD
accent
#68BF6C
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#10100B
muted
#7F7F7C

Preview Lab

Preview with #878956

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

Preview Lab → · Contrast checker → · Palette generator →

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