HSL(162, 2%, 30%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(162,2%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(162, 2%, 30%) | color: hsl(162, 2%, 30%) | |
| HEX | #4B4E4D | color: #4B4E4D | |
| RGB | rgb(75, 78, 77) | color: rgb(75, 78, 77) | |
| CMYK | cmyk(4%, 0%, 1%, 69%) | — | |
| HSV | hsv(160, 4%, 31%) | — | |
| HWB | hwb(160 30% 69%) | color: hwb(160 30% 69%) | |
| OKLCH | oklch(0.4208 0.0042 174.29) | color: oklch(0.4208 0.0042 174.29) | |
| Lab | lab(32.88 -1.44 0.17) | color: lab(32.88 -1.44 0.17) | |
| LCH | lch(32.88 1.45 173.27) | color: lch(32.88 1.45 173.27) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#4C4C4D — rgb(76, 76, 77)
Deuteranopia (Green-blind)
#4C4C4D — rgb(76, 76, 77)
Tritanopia (Blue-blind)
#4B4D4D — rgb(75, 77, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(162, 2%, 30%);
text
color: hsl(162, 2%, 30%);
border
border: 2px solid hsl(162, 2%, 30%);
gradient light
background: linear-gradient(to right, hsl(162, 2%, 50%), hsl(162, 2%, 30%));
gradient dark
background: linear-gradient(to right, hsl(162, 2%, 30%), hsl(162, 2%, 10%))
hex
background-color: #4B4E4D;
tailwind
bg-[hsl(162,2%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(162, 2%, 30%, 0.4);
css variable
--color-primary: hsl(162, 2%, 30%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(162, 2%, 30%)?
HEX: #4B4E4D | RGB: rgb(75, 78, 77) | CMYK: 4%, 0%, 1%, 69% | HSV: 160°, 4%, 31%. Copy any format from the conversion table above.
What colors go well with #4B4E4D?
The complementary color is HSL(342, 2%, 30%). For a triadic harmony, use hues 162°, 282°, and 42°. For analogous combinations, try hues 132° and 192°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(162, 2%, 30%) in CSS?
As HSL: color: hsl(162, 2%, 30%); — As HEX: color: #4B4E4D; — As RGB: color: rgb(75, 78, 77); — Tailwind CSS: bg-[hsl(162,2%,30%)] — CSS variable: --color-primary: hsl(162, 2%, 30%);