HSL(126, 8%, 64%)
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(126,8%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(126, 8%, 64%) | color: hsl(126, 8%, 64%) | |
| HEX | #9CAB9D | color: #9CAB9D | |
| RGB | rgb(156, 171, 157) | color: rgb(156, 171, 157) | |
| CMYK | cmyk(9%, 0%, 8%, 33%) | — | |
| HSV | hsv(124, 9%, 67%) | — | |
| HWB | hwb(124 61% 33%) | color: hwb(124 61% 33%) | |
| OKLCH | oklch(0.7254 0.0261 147.18) | color: oklch(0.7254 0.0261 147.18) | |
| Lab | lab(68.48 -7.96 5.42) | color: lab(68.48 -7.96 5.42) | |
| LCH | lch(68.48 9.63 145.75) | color: lch(68.48 9.63 145.75) |
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)
#A2A3A0 — rgb(162, 163, 160)
Deuteranopia (Green-blind)
#A2A1A1 — rgb(162, 161, 161)
Tritanopia (Blue-blind)
#9DA3A4 — rgb(157, 163, 164)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(126, 8%, 64%);
text
color: hsl(126, 8%, 64%);
border
border: 2px solid hsl(126, 8%, 64%);
gradient light
background: linear-gradient(to right, hsl(126, 8%, 84%), hsl(126, 8%, 64%));
gradient dark
background: linear-gradient(to right, hsl(126, 8%, 64%), hsl(126, 8%, 44%))
hex
background-color: #9CAB9D;
tailwind
bg-[hsl(126,8%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(126, 8%, 64%, 0.4);
css variable
--color-primary: hsl(126, 8%, 64%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(126, 8%, 64%)?
HEX: #9CAB9D | RGB: rgb(156, 171, 157) | CMYK: 9%, 0%, 8%, 33% | HSV: 124°, 9%, 67%. Copy any format from the conversion table above.
What colors go well with #9CAB9D?
The complementary color is HSL(306, 8%, 64%). For a triadic harmony, use hues 126°, 246°, and 6°. For analogous combinations, try hues 96° and 156°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(126, 8%, 64%) in CSS?
As HSL: color: hsl(126, 8%, 64%); — As HEX: color: #9CAB9D; — As RGB: color: rgb(156, 171, 157); — Tailwind CSS: bg-[hsl(126,8%,64%)] — CSS variable: --color-primary: hsl(126, 8%, 64%);