#AFABA2#AFABA2
#AFABA2 is a light, near-neutral grey. Relative luminance 0.408; OKLCH L 74.2% C 0.014 H 86.9°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AFABA2 |
|---|---|
| RGB | rgb(175, 171, 162) |
| HSL | hsl(42, 8%, 66%) |
| HSV | hsv(42, 7%, 69%) |
| CMYK | cmyk(0%, 2.3%, 7.4%, 31.4%) |
| CIE-LAB | lab(70.07, -0.20, 5.14) |
| CIE-LCH | lch(70.07, 5.14, 92.22°) |
| OKLab | oklab(74.19% 0.0007 0.0135) |
| OKLCH | oklch(74.19% 0.014 86.9) |
| XYZ | xyz(38.7629, 40.8487, 40.0179) |
| Luminance | 0.4085 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Greyish
#A8A495
ΔE00 3.51
Stone
#A89F91
ΔE00 4.41
Dark Gray
#A9A9A9
ΔE00 4.66
Greige
#B8AB98
ΔE00 5.08
Cement
#A5A391
ΔE00 5.11
Warm Gray
#C9BEB0
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFABA2 #A2A6AF
analogous
#AFA4A2 #AFABA2 #ACAFA2
triadic
#AFABA2 #A2AFAB #ABA2AF
tetradic
#AFABA2 #A2AFA4 #A2A6AF #AFA2AC
square
#AFABA2 #A2AFA4 #A2A6AF #AFA2AC
split-complementary
#AFABA2 #A2ACAF #A4A2AF
monochromatic
#736E63 #938D81 #AFABA2 #CBC9C3 #E8E6E4
Accessibility & contrast
On white
2.29
#AFABA2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#AFABA2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFABA2
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFABA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFABA2 | 1.00 | 2.29 | 9.17 | 9.17 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ADABA1
Deuteranopia (green-blind)
#AEACA2
Tritanopia (blue-blind)
#B1A9A8
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #afaba2; /* rgb */ color: rgb(175, 171, 162); /* oklch */ color: oklch(74.2% 0.014 86.9);
Tailwind
colors: {
custom: {
50: '#c6c4bd',
500: '#afaba2',
950: '#000000',
},
}SCSS
$custom: #afaba2; $custom-light: #c6c4bd; $custom-dark: #000000;
JSON
{
"hex": "#afaba2",
"rgb": {
"r": 175,
"g": 171,
"b": 162
},
"hsl": {
"h": 41.538,
"s": 7.514,
"l": 66.078
},
"oklch": {
"l": 0.74193,
"c": 0.01351,
"h": 86.9
},
"luminance": 0.40848
}Semantic roles & 50–950 ramp
primary
#AFABA2
secondary
#D4D6D9
accent
#679154
background
#FCFCFB
surface
#F8F8F6
border
#D1D1D0
text
#131212
muted
#828181