HSL(272, 2%, 59%)
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(272,2%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 2%, 59%) | color: hsl(272, 2%, 59%) | |
| HEX | #979499 | color: #979499 | |
| RGB | rgb(151, 148, 153) | color: rgb(151, 148, 153) | |
| CMYK | cmyk(1%, 3%, 0%, 40%) | — | |
| HSV | hsv(276, 3%, 60%) | — | |
| HWB | hwb(276 58% 40%) | color: hwb(276 58% 40%) | |
| OKLCH | oklch(0.6706 0.008 312.27) | color: oklch(0.6706 0.008 312.27) | |
| Lab | lab(61.71 2.06 -2.24) | color: lab(61.71 2.06 -2.24) | |
| LCH | lch(61.71 3.04 312.6) | color: lch(61.71 3.04 312.6) |
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)
#969698 — rgb(150, 150, 152)
Deuteranopia (Green-blind)
#969698 — rgb(150, 150, 152)
Tritanopia (Blue-blind)
#979797 — rgb(151, 151, 151)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 2%, 59%);
text
color: hsl(272, 2%, 59%);
border
border: 2px solid hsl(272, 2%, 59%);
gradient light
background: linear-gradient(to right, hsl(272, 2%, 79%), hsl(272, 2%, 59%));
gradient dark
background: linear-gradient(to right, hsl(272, 2%, 59%), hsl(272, 2%, 39%))
hex
background-color: #979499;
tailwind
bg-[hsl(272,2%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 2%, 59%, 0.4);
css variable
--color-primary: hsl(272, 2%, 59%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(272, 2%, 59%)?
HEX: #979499 | RGB: rgb(151, 148, 153) | CMYK: 1%, 3%, 0%, 40% | HSV: 276°, 3%, 60%. Copy any format from the conversion table above.
What colors go well with #979499?
The complementary color is HSL(92, 2%, 59%). For a triadic harmony, use hues 272°, 32°, and 152°. For analogous combinations, try hues 242° and 302°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(272, 2%, 59%) in CSS?
As HSL: color: hsl(272, 2%, 59%); — As HEX: color: #979499; — As RGB: color: rgb(151, 148, 153); — Tailwind CSS: bg-[hsl(272,2%,59%)] — CSS variable: --color-primary: hsl(272, 2%, 59%);