#98998F#98998F
#98998F is a light, near-neutral grey. Relative luminance 0.314; OKLCH L 67.9% C 0.014 H 111.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #98998F |
|---|---|
| RGB | rgb(152, 153, 143) |
| HSL | hsl(66, 5%, 58%) |
| HSV | hsv(66, 7%, 60%) |
| CMYK | cmyk(0.7%, 0%, 6.5%, 40%) |
| CIE-LAB | lab(62.88, -2.24, 5.13) |
| CIE-LCH | lch(62.88, 5.59, 113.59°) |
| OKLab | oklab(67.92% -0.0053 0.0134) |
| OKLCH | oklch(67.92% 0.014 111.4) |
| XYZ | xyz(29.2973, 31.4411, 30.5066) |
| Luminance | 0.3144 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Grey
#929591
ΔE00 3.22
Cement
#A5A391
ΔE00 4.63
Greyish
#A8A495
ΔE00 4.68
Stone
#A89F91
ΔE00 5.64
Dark Gray
#A9A9A9
ΔE00 7.46
Pewter
#899397
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98998F #908F99
analogous
#99958F #98998F #93998F
triadic
#98998F #8F9899 #998F98
tetradic
#98998F #8F9995 #908F99 #998F93
square
#98998F #8F9995 #908F99 #998F93
split-complementary
#98998F #8F9399 #958F99
monochromatic
#5A5B53 #7A7B70 #98998F #B5B6AF #D3D3CF
Accessibility & contrast
On white
2.88
#98998F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#98998F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98998F
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98998F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98998F | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B988E
Deuteranopia (green-blind)
#9B988F
Tritanopia (blue-blind)
#999896
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #98998f; /* rgb */ color: rgb(152, 153, 143); /* oklch */ color: oklch(67.9% 0.014 111.4);
Tailwind
colors: {
custom: {
50: '#b6b7af',
500: '#98998f',
950: '#000000',
},
}SCSS
$custom: #98998f; $custom-light: #b6b7af; $custom-dark: #000000;
JSON
{
"hex": "#98998f",
"rgb": {
"r": 152,
"g": 153,
"b": 143
},
"hsl": {
"h": 66,
"s": 4.673,
"l": 58.039
},
"oklch": {
"l": 0.67917,
"c": 0.01443,
"h": 111.4
},
"luminance": 0.31441
}Semantic roles & 50–950 ramp
primary
#98998F
secondary
#C0C0C4
accent
#7AAE7F
background
#FBFBFA
surface
#F6F6F4
border
#D0D0CE
text
#111110
muted
#80807F