#4E4F42#4E4F42
#4E4F42 is a dark, muted yellow. Relative luminance 0.076; OKLCH L 42.3% C 0.021 H 110.9°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #4E4F42 |
|---|---|
| RGB | rgb(78, 79, 66) |
| HSL | hsl(65, 9%, 28%) |
| HSV | hsv(65, 16%, 31%) |
| CMYK | cmyk(1.3%, 0%, 16.5%, 69%) |
| CIE-LAB | lab(33.15, -3.05, 7.56) |
| CIE-LCH | lch(33.15, 8.15, 111.95°) |
| OKLab | oklab(42.26% -0.0074 0.0195) |
| OKLCH | oklch(42.26% 0.021 110.9) |
| XYZ | xyz(6.9211, 7.6051, 6.2565) |
| Luminance | 0.0761 (WCAG relative) |
| Temperature | neutral |
| Family | yellow |
Closest named colors
Charcoal Grey
#3C4142
ΔE00 9.08
Charcoal (survey)
#343837
ΔE00 9.95
Dark Grey
#363737
ΔE00 10.55
Onyx
#353839
ΔE00 10.81
Walnut
#5C4A3D
ΔE00 11.42
Umber
#635147
ΔE00 12.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E4F42 #43424F
analogous
#4F4942 #4E4F42 #474F42
triadic
#4E4F42 #424E4F #4F424E
tetradic
#4E4F42 #424F49 #43424F #4F4247
square
#4E4F42 #424F49 #43424F #4F4247
split-complementary
#4E4F42 #42474F #49424F
monochromatic
#10110E #2D2E26 #4E4F42 #6F705E #8F917B
Accessibility & contrast
On white
8.33
#4E4F42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#4E4F42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E4F42
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E4F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E4F42 | 1.00 | 8.33 | 2.52 | 8.33 |
| #FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514E41
Deuteranopia (green-blind)
#514E42
Tritanopia (blue-blind)
#504D4B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #4e4f42; /* rgb */ color: rgb(78, 79, 66); /* oklch */ color: oklch(42.3% 0.021 110.9);
Tailwind
colors: {
custom: {
50: '#7f8076',
500: '#4e4f42',
950: '#000000',
},
}SCSS
$custom: #4e4f42; $custom-light: #7f8076; $custom-dark: #000000;
JSON
{
"hex": "#4e4f42",
"rgb": {
"r": 78,
"g": 79,
"b": 66
},
"hsl": {
"h": 64.615,
"s": 8.966,
"l": 28.431
},
"oklch": {
"l": 0.42258,
"c": 0.02087,
"h": 110.9
},
"luminance": 0.07605
}Semantic roles & 50–950 ramp
primary
#4E4F42
secondary
#706F7E
accent
#76B27A
background
#F7F7F7
surface
#EEEEED
border
#C9C9C8
text
#0A0A08
muted
#7C7C7B