#998F8F#998F8F
#998F8F is a light, near-neutral grey. Relative luminance 0.284; OKLCH L 65.9% C 0.012 H 17.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #998F8F |
|---|---|
| RGB | rgb(153, 143, 143) |
| HSL | hsl(0, 5%, 58%) |
| HSV | hsv(0, 7%, 60%) |
| CMYK | cmyk(0%, 6.5%, 6.5%, 40%) |
| CIE-LAB | lab(60.25, 3.70, 1.33) |
| CIE-LCH | lch(60.25, 3.94, 19.80°) |
| OKLab | oklab(65.87% 0.0114 0.0036) |
| OKLCH | oklch(65.87% 0.012 17.5) |
| XYZ | xyz(27.9167, 28.4007, 29.9925) |
| Luminance | 0.2840 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Warm Grey
#978A84
ΔE00 3.60
Gray
#808080
ΔE00 7.95
Grey
#929591
ΔE00 8.01
Dark Gray
#A9A9A9
ΔE00 8.98
Stone
#A89F91
ΔE00 8.99
Medium Grey
#7D7F7C
ΔE00 9.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F8F #8F9999
analogous
#998F94 #998F8F #99948F
triadic
#998F8F #8F998F #8F8F99
tetradic
#998F8F #94998F #8F9999 #948F99
square
#998F8F #94998F #8F9999 #948F99
split-complementary
#998F8F #8F9994 #8F9499
monochromatic
#5B5353 #7B7070 #998F8F #B6AFAF #D3CFCF
Accessibility & contrast
On white
3.14
#998F8F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.68
#998F8F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F8F
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F8F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F8F | 1.00 | 3.14 | 6.68 | 6.68 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91908F
Deuteranopia (green-blind)
#93928F
Tritanopia (blue-blind)
#9B8E8F
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #998f8f; /* rgb */ color: rgb(153, 143, 143); /* oklch */ color: oklch(65.9% 0.012 17.5);
Tailwind
colors: {
custom: {
50: '#b7afaf',
500: '#998f8f',
950: '#000000',
},
}SCSS
$custom: #998f8f; $custom-light: #b7afaf; $custom-dark: #000000;
JSON
{
"hex": "#998f8f",
"rgb": {
"r": 153,
"g": 143,
"b": 143
},
"hsl": {
"h": 0,
"s": 4.673,
"l": 58.039
},
"oklch": {
"l": 0.65872,
"c": 0.01193,
"h": 17.5
},
"luminance": 0.284
}Semantic roles & 50–950 ramp
primary
#998F8F
secondary
#C0C4C4
accent
#AEAE7A
background
#FBFAFA
surface
#F6F4F4
border
#D0CECE
text
#111010
muted
#807F7F