#ABAB8A#ABAB8A
#ABAB8A is a light, muted yellow. Relative luminance 0.396; OKLCH L 73.2% C 0.046 H 107.5°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #ABAB8A |
|---|---|
| RGB | rgb(171, 171, 138) |
| HSL | hsl(60, 16%, 61%) |
| HSV | hsv(60, 19%, 67%) |
| CMYK | cmyk(0%, 0%, 19.3%, 32.9%) |
| CIE-LAB | lab(69.20, -5.65, 17.05) |
| CIE-LCH | lch(69.20, 17.96, 108.34°) |
| OKLab | oklab(73.25% -0.0137 0.0436) |
| OKLCH | oklch(73.25% 0.046 107.5) |
| XYZ | xyz(35.9447, 39.6191, 29.7935) |
| Luminance | 0.3962 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bland
#AFA88B
ΔE00 3.54
Stone (survey)
#ADA587
ΔE00 3.99
Cement
#A5A391
ΔE00 5.66
Sage Green
#9CAF88
ΔE00 6.73
Putty
#BEAE8A
ΔE00 6.99
Greyish
#A8A495
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABAB8A #8A8AAB
analogous
#AB9A8A #ABAB8A #9AAB8A
triadic
#ABAB8A #8AABAB #AB8AAB
tetradic
#ABAB8A #8AAB9A #8A8AAB #AB8A9A
square
#ABAB8A #8AAB9A #8A8AAB #AB8A9A
split-complementary
#ABAB8A #8A9AAB #9A8AAB
monochromatic
#6D6D4E #909068 #ABAB8A #C5C5AE #DEDED1
Accessibility & contrast
On white
2.35
#ABAB8A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.92
#ABAB8A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABAB8A
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABAB8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABAB8A | 1.00 | 2.35 | 8.92 | 8.92 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A888
Deuteranopia (green-blind)
#B1AA8B
Tritanopia (blue-blind)
#B0A7A2
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #abab8a; /* rgb */ color: rgb(171, 171, 138); /* oklch */ color: oklch(73.2% 0.046 107.5);
Tailwind
colors: {
custom: {
50: '#c4c4ac',
500: '#abab8a',
950: '#000000',
},
}SCSS
$custom: #abab8a; $custom-light: #c4c4ac; $custom-dark: #000000;
JSON
{
"hex": "#abab8a",
"rgb": {
"r": 171,
"g": 171,
"b": 138
},
"hsl": {
"h": 60,
"s": 16.418,
"l": 60.588
},
"oklch": {
"l": 0.73245,
"c": 0.04571,
"h": 107.5
},
"luminance": 0.39619
}Semantic roles & 50–950 ramp
primary
#ABAB8A
secondary
#C2C2CF
accent
#4B9B4B
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#121210
muted
#81817F