HSL(159, 9%, 79%)
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(159,9%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(159, 9%, 79%) | color: hsl(159, 9%, 79%) | |
| HEX | #C5CECB | color: #C5CECB | |
| RGB | rgb(197, 206, 203) | color: rgb(197, 206, 203) | |
| CMYK | cmyk(4%, 0%, 1%, 19%) | — | |
| HSV | hsv(160, 4%, 81%) | — | |
| HWB | hwb(160 78% 19%) | color: hwb(160 78% 19%) | |
| OKLCH | oklch(0.8436 0.0106 174.22) | color: oklch(0.8436 0.0106 174.22) | |
| Lab | lab(82.01 -3.62 0.43) | color: lab(82.01 -3.62 0.43) | |
| LCH | lch(82.01 3.65 173.23) | color: lch(82.01 3.65 173.23) |
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)
#C9C9CC — rgb(201, 201, 204)
Deuteranopia (Green-blind)
#C8C8CC — rgb(200, 200, 204)
Tritanopia (Blue-blind)
#C5CCCC — rgb(197, 204, 204)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(159, 9%, 79%);
text
color: hsl(159, 9%, 79%);
border
border: 2px solid hsl(159, 9%, 79%);
gradient light
background: linear-gradient(to right, hsl(159, 9%, 99%), hsl(159, 9%, 79%));
gradient dark
background: linear-gradient(to right, hsl(159, 9%, 79%), hsl(159, 9%, 59%))
hex
background-color: #C5CECB;
tailwind
bg-[hsl(159,9%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(159, 9%, 79%, 0.4);
css variable
--color-primary: hsl(159, 9%, 79%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(159, 9%, 79%)?
HEX: #C5CECB | RGB: rgb(197, 206, 203) | CMYK: 4%, 0%, 1%, 19% | HSV: 160°, 4%, 81%. Copy any format from the conversion table above.
What colors go well with #C5CECB?
The complementary color is HSL(339, 9%, 79%). For a triadic harmony, use hues 159°, 279°, and 39°. For analogous combinations, try hues 129° and 189°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(159, 9%, 79%) in CSS?
As HSL: color: hsl(159, 9%, 79%); — As HEX: color: #C5CECB; — As RGB: color: rgb(197, 206, 203); — Tailwind CSS: bg-[hsl(159,9%,79%)] — CSS variable: --color-primary: hsl(159, 9%, 79%);