#4E4E42#4E4E42
#4E4E42 is a dark, near-neutral yellow. Relative luminance 0.075; OKLCH L 42.0% C 0.019 H 107.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4E42 |
|---|---|
| RGB | rgb(78, 78, 66) |
| HSL | hsl(60, 8%, 28%) |
| HSV | hsv(60, 15%, 31%) |
| CMYK | cmyk(0%, 0%, 15.4%, 69.4%) |
| CIE-LAB | lab(32.84, -2.43, 7.12) |
| CIE-LCH | lch(32.84, 7.52, 108.83°) |
| OKLab | oklab(42.01% -0.0057 0.0184) |
| OKLCH | oklch(42.01% 0.019 107.2) |
| XYZ | xyz(6.8496, 7.4619, 6.2326) |
| Luminance | 0.0746 (WCAG relative) |
| Temperature | neutral |
| Family | yellow |
Closest named colors
Charcoal Grey
#3C4142
ΔE00 8.63
Charcoal (survey)
#343837
ΔE00 9.52
Dark Grey
#363737
ΔE00 10.00
Onyx
#353839
ΔE00 10.30
Walnut
#5C4A3D
ΔE00 10.63
Umber
#635147
ΔE00 11.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4E42 #42424E
analogous
#4E4842 #4E4E42 #484E42
triadic
#4E4E42 #424E4E #4E424E
tetradic
#4E4E42 #424E48 #42424E #4E4248
square
#4E4E42 #424E48 #42424E #4E4248
split-complementary
#4E4E42 #42484E #48424E
monochromatic
#11110E #2D2D26 #4E4E42 #6F6F5E #8F8F7B
Accessibility & contrast
On white
8.43
#4E4E42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#4E4E42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4E42
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4E42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4E42 | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504D41
Deuteranopia (green-blind)
#504D42
Tritanopia (blue-blind)
#504C4B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #4e4e42; /* rgb */ color: rgb(78, 78, 66); /* oklch */ color: oklch(42.0% 0.019 107.2);
Tailwind
colors: {
custom: {
50: '#7f7f76',
500: '#4e4e42',
950: '#000000',
},
}SCSS
$custom: #4e4e42; $custom-light: #7f7f76; $custom-dark: #000000;
JSON
{
"hex": "#4e4e42",
"rgb": {
"r": 78,
"g": 78,
"b": 66
},
"hsl": {
"h": 60,
"s": 8.333,
"l": 28.235
},
"oklch": {
"l": 0.42013,
"c": 0.01926,
"h": 107.2
},
"luminance": 0.07462
}Semantic roles & 50–950 ramp
primary
#4E4E42
secondary
#6F6F7D
accent
#76B176
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#0A0A08
muted
#7C7C7B