HSL(24, 9%, 66%)
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(24,9%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(24, 9%, 66%) | color: hsl(24, 9%, 66%) | |
| HEX | #B0A7A0 | color: #B0A7A0 | |
| RGB | rgb(176, 167, 160) | color: rgb(176, 167, 160) | |
| CMYK | cmyk(0%, 5%, 9%, 31%) | — | |
| HSV | hsv(26, 9%, 69%) | — | |
| HWB | hwb(26 63% 31%) | color: hwb(26 63% 31%) | |
| OKLCH | oklch(0.7339 0.0144 60.49) | color: oklch(0.7339 0.0144 60.49) | |
| Lab | lab(69.04 1.99 4.77) | color: lab(69.04 1.99 4.77) | |
| LCH | lch(69.04 5.17 67.35) | color: lch(69.04 5.17 67.35) |
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)
#ACACA2 — rgb(172, 172, 162)
Deuteranopia (Green-blind)
#ADADA2 — rgb(173, 173, 162)
Tritanopia (Blue-blind)
#B0A3A3 — rgb(176, 163, 163)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(24, 9%, 66%);
text
color: hsl(24, 9%, 66%);
border
border: 2px solid hsl(24, 9%, 66%);
gradient light
background: linear-gradient(to right, hsl(24, 9%, 86%), hsl(24, 9%, 66%));
gradient dark
background: linear-gradient(to right, hsl(24, 9%, 66%), hsl(24, 9%, 46%))
hex
background-color: #B0A7A0;
tailwind
bg-[hsl(24,9%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(24, 9%, 66%, 0.4);
css variable
--color-primary: hsl(24, 9%, 66%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(24, 9%, 66%)?
HEX: #B0A7A0 | RGB: rgb(176, 167, 160) | CMYK: 0%, 5%, 9%, 31% | HSV: 26°, 9%, 69%. Copy any format from the conversion table above.
What colors go well with #B0A7A0?
The complementary color is HSL(204, 9%, 66%). For a triadic harmony, use hues 24°, 144°, and 264°. For analogous combinations, try hues 354° and 54°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(24, 9%, 66%) in CSS?
As HSL: color: hsl(24, 9%, 66%); — As HEX: color: #B0A7A0; — As RGB: color: rgb(176, 167, 160); — Tailwind CSS: bg-[hsl(24,9%,66%)] — CSS variable: --color-primary: hsl(24, 9%, 66%);