HSL(42, 5%, 62%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(42,5%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 5%, 62%) | color: hsl(42, 5%, 62%) | |
| HEX | #A3A099 | color: #A3A099 | |
| RGB | rgb(163, 160, 153) | color: rgb(163, 160, 153) | |
| CMYK | cmyk(0%, 2%, 6%, 36%) | — | |
| HSV | hsv(42, 6%, 64%) | — | |
| HWB | hwb(42 60% 36%) | color: hwb(42 60% 36%) | |
| OKLCH | oklch(0.7062 0.0106 87.49) | color: oklch(0.7062 0.0106 87.49) | |
| Lab | lab(65.93 -0.21 4.03) | color: lab(65.93 -0.21 4.03) | |
| LCH | lch(65.93 4.04 92.98) | color: lch(65.93 4.04 92.98) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#A2A29B — rgb(162, 162, 155)
Deuteranopia (Green-blind)
#A2A29B — rgb(162, 162, 155)
Tritanopia (Blue-blind)
#A39C9C — rgb(163, 156, 156)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 5%, 62%);
text
color: hsl(42, 5%, 62%);
border
border: 2px solid hsl(42, 5%, 62%);
gradient light
background: linear-gradient(to right, hsl(42, 5%, 82%), hsl(42, 5%, 62%));
gradient dark
background: linear-gradient(to right, hsl(42, 5%, 62%), hsl(42, 5%, 42%))
hex
background-color: #A3A099;
tailwind
bg-[hsl(42,5%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 5%, 62%, 0.4);
css variable
--color-primary: hsl(42, 5%, 62%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(42, 5%, 62%)?
HEX: #A3A099 | RGB: rgb(163, 160, 153) | CMYK: 0%, 2%, 6%, 36% | HSV: 42°, 6%, 64%. Copy any format from the conversion table above.
What colors go well with #A3A099?
The complementary color is HSL(222, 5%, 62%). For a triadic harmony, use hues 42°, 162°, and 282°. For analogous combinations, try hues 12° and 72°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(42, 5%, 62%) in CSS?
As HSL: color: hsl(42, 5%, 62%); — As HEX: color: #A3A099; — As RGB: color: rgb(163, 160, 153); — Tailwind CSS: bg-[hsl(42,5%,62%)] — CSS variable: --color-primary: hsl(42, 5%, 62%);