HSL(52, 5%, 57%)
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(52,5%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 5%, 57%) | color: hsl(52, 5%, 57%) | |
| HEX | #97958C | color: #97958C | |
| RGB | rgb(151, 149, 140) | color: rgb(151, 149, 140) | |
| CMYK | cmyk(0%, 1%, 7%, 41%) | — | |
| HSV | hsv(49, 7%, 59%) | — | |
| HWB | hwb(49 55% 41%) | color: hwb(49 55% 41%) | |
| OKLCH | oklch(0.6689 0.0132 96.51) | color: oklch(0.6689 0.0132 96.51) | |
| Lab | lab(61.63 -0.94 5.01) | color: lab(61.63 -0.94 5.01) | |
| LCH | lch(61.63 5.1 100.63) | color: lch(61.63 5.1 100.63) |
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)
#96968E — rgb(150, 150, 142)
Deuteranopia (Green-blind)
#96968F — rgb(150, 150, 143)
Tritanopia (Blue-blind)
#979090 — rgb(151, 144, 144)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 5%, 57%);
text
color: hsl(52, 5%, 57%);
border
border: 2px solid hsl(52, 5%, 57%);
gradient light
background: linear-gradient(to right, hsl(52, 5%, 77%), hsl(52, 5%, 57%));
gradient dark
background: linear-gradient(to right, hsl(52, 5%, 57%), hsl(52, 5%, 37%))
hex
background-color: #97958C;
tailwind
bg-[hsl(52,5%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 5%, 57%, 0.4);
css variable
--color-primary: hsl(52, 5%, 57%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(52, 5%, 57%)?
HEX: #97958C | RGB: rgb(151, 149, 140) | CMYK: 0%, 1%, 7%, 41% | HSV: 49°, 7%, 59%. Copy any format from the conversion table above.
What colors go well with #97958C?
The complementary color is HSL(232, 5%, 57%). For a triadic harmony, use hues 52°, 172°, and 292°. For analogous combinations, try hues 22° and 82°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(52, 5%, 57%) in CSS?
As HSL: color: hsl(52, 5%, 57%); — As HEX: color: #97958C; — As RGB: color: rgb(151, 149, 140); — Tailwind CSS: bg-[hsl(52,5%,57%)] — CSS variable: --color-primary: hsl(52, 5%, 57%);