#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 |
|---|---|
| RGB | rgb(129, 136, 120) |
| HSL | hsl(86, 6%, 50%) |
| HSV | hsv(86, 12%, 53%) |
| CMYK | cmyk(5.1%, 0%, 11.8%, 46.7%) |
| CIE-LAB | lab(55.72, -5.67, 7.72) |
| CIE-LCH | lch(55.72, 9.58, 126.32°) |
| OKLab | oklab(61.62% -0.0148 0.02) |
| OKLCH | oklch(61.62% 0.025 126.5) |
| XYZ | xyz(21.2471, 23.6315, 21.2076) |
| Luminance | 0.2363 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 7.41
Grey
#929591
ΔE00 8.02
Brown Grey
#8D8468
ΔE00 8.37
Gray
#808080
ΔE00 9.35
Green Grey
#77926F
ΔE00 9.37
Cement
#A5A391
ΔE00 10.40
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 |
|---|---|---|---|---|
| ##818878 | 1.00 | 3.67 | 5.73 | 5.73 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.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