#818878#818878

#818878 is a mid, muted grey. Relative luminance 0.236; OKLCH L 61.6% C 0.025 H 126.5°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#818878
RGBrgb(129, 136, 120)
HSLhsl(86, 6%, 50%)
HSVhsv(86, 12%, 53%)
CMYKcmyk(5.1%, 0%, 11.8%, 46.7%)
CIE-LABlab(55.72, -5.67, 7.72)
CIE-LCHlch(55.72, 9.58, 126.32°)
OKLaboklab(61.62% -0.0148 0.02)
OKLCHoklch(61.62% 0.025 126.5)
XYZxyz(21.2471, 23.6315, 21.2076)
Luminance0.2363 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818878 #7F7888
analogous
#888778 #818878 #798878
triadic
#818878 #788188 #887881
tetradic
#818878 #788887 #7F7888 #887879
square
#818878 #788887 #7F7888 #887879
split-complementary
#818878 #787988 #877888
monochromatic
#43473F #62685B #818878 #9FA599 #BEC1B9

Accessibility & contrast

On white

3.67
#818878 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#818878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818878
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818878#FFFFFF#000000##000000
##8188781.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8677
Deuteranopia (green-blind)
#898579
Tritanopia (blue-blind)
#828683
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #818878;
/* rgb */ color: rgb(129, 136, 120);
/* oklch */ color: oklch(61.6% 0.025 126.5);
Tailwind
colors: {
  custom: {
    50: '#a5aa9f',
    500: '#818878',
    950: '#000000',
  },
}
SCSS
$custom: #818878;
$custom-light: #a5aa9f;
$custom-dark: #000000;
JSON
{
  "hex": "#818878",
  "rgb": {
    "r": 129,
    "g": 136,
    "b": 120
  },
  "hsl": {
    "h": 86.25,
    "s": 6.299,
    "l": 50.196
  },
  "oklch": {
    "l": 0.61619,
    "c": 0.02493,
    "h": 126.5
  },
  "luminance": 0.23632
}

Semantic roles & 50–950 ramp

primary
#818878
secondary
#ADAAB1
accent
#78AF90
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#0F100E
muted
#7F7F7E

Preview Lab

Preview with #818878

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

Preview Lab → · Contrast checker → · Palette generator →

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