HSL(151, 12%, 40%)
Grayish Cyan — Cyan color
Adjust Color
Color Information
Color Name
Grayish Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(151,12%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(151, 12%, 40%) | color: hsl(151, 12%, 40%) | |
| HEX | #5A7266 | color: #5A7266 | |
| RGB | rgb(90, 114, 102) | color: rgb(90, 114, 102) | |
| CMYK | cmyk(21%, 0%, 11%, 55%) | — | |
| HSV | hsv(150, 21%, 45%) | — | |
| HWB | hwb(150 36% 55%) | color: hwb(150 36% 55%) | |
| OKLCH | oklch(0.5291 0.0339 163.33) | color: oklch(0.5291 0.0339 163.33) | |
| Lab | lab(45.86 -11.49 3.76) | color: lab(45.86 -11.49 3.76) | |
| LCH | lch(45.86 12.09 161.88) | color: lch(45.86 12.09 161.88) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#646569 — rgb(100, 101, 105)
Deuteranopia (Green-blind)
#63616A — rgb(99, 97, 106)
Tritanopia (Blue-blind)
#5B6B6C — rgb(91, 107, 108)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(151, 12%, 40%);
text
color: hsl(151, 12%, 40%);
border
border: 2px solid hsl(151, 12%, 40%);
gradient light
background: linear-gradient(to right, hsl(151, 12%, 60%), hsl(151, 12%, 40%));
gradient dark
background: linear-gradient(to right, hsl(151, 12%, 40%), hsl(151, 12%, 20%))
hex
background-color: #5A7266;
tailwind
bg-[hsl(151,12%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(151, 12%, 40%, 0.4);
css variable
--color-primary: hsl(151, 12%, 40%);
Related Colors
Use Cases for Grayish Cyan
Frequently Asked Questions
What are all the color codes for HSL(151, 12%, 40%)?
HEX: #5A7266 | RGB: rgb(90, 114, 102) | CMYK: 21%, 0%, 11%, 55% | HSV: 150°, 21%, 45%. Copy any format from the conversion table above.
What colors go well with #5A7266?
The complementary color is HSL(331, 12%, 40%). For a triadic harmony, use hues 151°, 271°, and 31°. For analogous combinations, try hues 121° and 181°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(151, 12%, 40%) in CSS?
As HSL: color: hsl(151, 12%, 40%); — As HEX: color: #5A7266; — As RGB: color: rgb(90, 114, 102); — Tailwind CSS: bg-[hsl(151,12%,40%)] — CSS variable: --color-primary: hsl(151, 12%, 40%);