HSL(112, 5%, 31%)
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(112,5%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(112, 5%, 31%) | color: hsl(112, 5%, 31%) | |
| HEX | #4C534B | color: #4C534B | |
| RGB | rgb(76, 83, 75) | color: rgb(76, 83, 75) | |
| CMYK | cmyk(8%, 0%, 10%, 67%) | — | |
| HSV | hsv(113, 10%, 33%) | — | |
| HWB | hwb(113 30% 67%) | color: hwb(113 30% 67%) | |
| OKLCH | oklch(0.4333 0.0157 141.74) | color: oklch(0.4333 0.0157 141.74) | |
| Lab | lab(34.46 -4.54 3.73) | color: lab(34.46 -4.54 3.73) | |
| LCH | lch(34.46 5.88 140.59) | color: lch(34.46 5.88 140.59) |
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)
#4F4F4D — rgb(79, 79, 77)
Deuteranopia (Green-blind)
#4F4E4D — rgb(79, 78, 77)
Tritanopia (Blue-blind)
#4C4E4F — rgb(76, 78, 79)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(112, 5%, 31%);
text
color: hsl(112, 5%, 31%);
border
border: 2px solid hsl(112, 5%, 31%);
gradient light
background: linear-gradient(to right, hsl(112, 5%, 51%), hsl(112, 5%, 31%));
gradient dark
background: linear-gradient(to right, hsl(112, 5%, 31%), hsl(112, 5%, 11%))
hex
background-color: #4C534B;
tailwind
bg-[hsl(112,5%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(112, 5%, 31%, 0.4);
css variable
--color-primary: hsl(112, 5%, 31%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(112, 5%, 31%)?
HEX: #4C534B | RGB: rgb(76, 83, 75) | CMYK: 8%, 0%, 10%, 67% | HSV: 113°, 10%, 33%. Copy any format from the conversion table above.
What colors go well with #4C534B?
The complementary color is HSL(292, 5%, 31%). For a triadic harmony, use hues 112°, 232°, and 352°. For analogous combinations, try hues 82° and 142°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(112, 5%, 31%) in CSS?
As HSL: color: hsl(112, 5%, 31%); — As HEX: color: #4C534B; — As RGB: color: rgb(76, 83, 75); — Tailwind CSS: bg-[hsl(112,5%,31%)] — CSS variable: --color-primary: hsl(112, 5%, 31%);