Traffic Gray B (#4E5451)
The hex code for Traffic Gray B is #4E5451. It is rgb(78, 84, 81) in RGB, hsl(150, 4%, 32%) in HSL, and about cmyk(7%, 0%, 4%, 67%) in CMYK — a dark gray. White text is the more readable choice on this background.
#4E5451rgb(78, 84, 81)hsl(150, 4%, 32%)hsv(150, 7%, 33%)cmyk(7%, 0%, 4%, 67%)oklch(43.9% 0.009 164.6)lab(35.10% -2.98 0.89)lch(35.10% 3.11 163.37)Colors Closest to Traffic Gray B
Traffic Gray B is a registered color name. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.
Browse the full index of named colors A-Z or every gray in the library.
#4E5451 Channel Values
How Traffic Gray B breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.
| Model | Channels | Notes |
|---|---|---|
| RGB | R 78 · G 84 · B 81 | 8-bit channels as sent to the display |
| HSL | H 150° · S 4% · L 32% | Easiest model for building lighter and darker variants |
| HSV | H 150° · S 7% · V 33% | Matches the picker in most design tools |
| CMYK | C 7% · M 0% · Y 4% · K 67% | Approximate ink mix; confirm with an ICC profile before printing |
| Luminance | 7.75:1 vs white · 2.71:1 vs black | WCAG 2.2 relative-luminance contrast ratios |
Text Contrast & Accessibility
WCAG 2.2 contrast ratios for text on a Traffic Gray B background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.
Need a specific ratio against another background? Open #4E5451 in the contrast checker.
Colors That Go With Traffic Gray B
Pairings derived from color-wheel relationships. The complementary color sits opposite Traffic Gray B; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.
Tints & Shades of Traffic Gray B
Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.
Want a full 50-950 ramp with semantic roles? Generate design tokens from #4E5451.
How Traffic Gray B Looks with Color Vision Deficiency
Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.
#4E5451#535351#515351#525251#505351#4E5454#4E5453#535353Using #4E5451 in Code
Copy-ready declarations for the places this color usually ends up.
--traffic-gray-b: #4E5451;background-color: #4E5451;colors: { 'traffic-gray-b': '#4E5451' }Color(red: 0.306, green: 0.329, blue: 0.318)<color name="traffic_gray_b">#4E5451</color>fill="#4E5451"More Gray Colors
Traffic Gray B sits in the grayfamily. These are its neighbours across that family's full range, each with its own breakdown.
#4E5451 Frequently Asked Questions
What is the hex code for Traffic Gray B?
The hex code for Traffic Gray B is #4E5451. That is rgb(78, 84, 81) in RGB, hsl(150, 4%, 32%) in HSL, and approximately cmyk(7%, 0%, 4%, 67%) in CMYK.
What is the RGB value of #4E5451?
#4E5451 is rgb(78, 84, 81) — red 78, green 84, and blue 81 on the 0-255 scale.
What is the CMYK value of #4E5451?
#4E5451 converts to approximately cmyk(7%, 0%, 4%, 67%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.
Should text on #4E5451 be black or white?
White text is the more readable choice. #4E5451 scores 7.75:1 against white and 2.71:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.
Can I write #4E5451 as a CSS color keyword?
No. #4E5451 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is dimgray (#696969) at a CIE76 distance of 9.82, which is clearly related but distinguishable side by side.
Open Traffic Gray B in a Tool
Keep exploring: every gray in the color library, the guide to shades of gray, or the full color library.