#4A4A42#4A4A42
#4A4A42 is a dark, near-neutral grey. Relative luminance 0.067; OKLCH L 40.6% C 0.013 H 107.0°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #4A4A42 |
|---|---|
| RGB | rgb(74, 74, 66) |
| HSL | hsl(60, 6%, 27%) |
| HSV | hsv(60, 11%, 29%) |
| CMYK | cmyk(0%, 0%, 10.8%, 71%) |
| CIE-LAB | lab(31.22, -1.67, 4.78) |
| CIE-LCH | lch(31.22, 5.07, 109.24°) |
| OKLab | oklab(40.65% -0.0038 0.0125) |
| OKLCH | oklch(40.65% 0.013 107) |
| XYZ | xyz(6.2561, 6.7468, 6.1259) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Charcoal Grey
#3C4142
ΔE00 6.42
Charcoal (survey)
#343837
ΔE00 7.43
Dark Grey
#363737
ΔE00 7.76
Onyx
#353839
ΔE00 8.04
Walnut
#5C4A3D
ΔE00 10.19
Umber
#635147
ΔE00 10.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A4A42 #42424A
analogous
#4A4642 #4A4A42 #464A42
triadic
#4A4A42 #424A4A #4A424A
tetradic
#4A4A42 #424A46 #42424A #4A4246
square
#4A4A42 #424A46 #42424A #4A4246
split-complementary
#4A4A42 #42464A #46424A
monochromatic
#10100E #2A2A25 #4A4A42 #6A6A5F #8A8A7C
Accessibility & contrast
On white
8.94
#4A4A42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#4A4A42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A4A42
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A4A42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A4A42 | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4942
Deuteranopia (green-blind)
#4C4A42
Tritanopia (blue-blind)
#4B4948
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4a4a42; /* rgb */ color: rgb(74, 74, 66); /* oklch */ color: oklch(40.6% 0.013 107.0);
Tailwind
colors: {
custom: {
50: '#7c7c76',
500: '#4a4a42',
950: '#000000',
},
}SCSS
$custom: #4a4a42; $custom-light: #7c7c76; $custom-dark: #000000;
JSON
{
"hex": "#4a4a42",
"rgb": {
"r": 74,
"g": 74,
"b": 66
},
"hsl": {
"h": 60,
"s": 5.714,
"l": 27.451
},
"oklch": {
"l": 0.4065,
"c": 0.01303,
"h": 107
},
"luminance": 0.06747
}Semantic roles & 50–950 ramp
primary
#4A4A42
secondary
#6F6F79
accent
#79AF79
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#090908
muted
#7B7B7B