HSL(159, 40%, 74%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(159,40%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(159, 40%, 74%) | color: hsl(159, 40%, 74%) | |
| HEX | #A2D7C5 | color: #A2D7C5 | |
| RGB | rgb(162, 215, 197) | color: rgb(162, 215, 197) | |
| CMYK | cmyk(25%, 0%, 8%, 16%) | — | |
| HSV | hsv(160, 25%, 84%) | — | |
| HWB | hwb(160 63% 16%) | color: hwb(160 63% 16%) | |
| OKLCH | oklch(0.8372 0.0604 171.89) | color: oklch(0.8372 0.0604 171.89) | |
| Lab | lab(82.01 -20.78 3.33) | color: lab(82.01 -20.78 3.33) | |
| LCH | lch(82.01 21.05 170.9) | color: lch(82.01 21.05 170.9) |
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)
#B9B9C9 — rgb(185, 185, 201)
Deuteranopia (Green-blind)
#B6B2CA — rgb(182, 178, 202)
Tritanopia (Blue-blind)
#A5CDCE — rgb(165, 205, 206)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(159, 40%, 74%);
text
color: hsl(159, 40%, 74%);
border
border: 2px solid hsl(159, 40%, 74%);
gradient light
background: linear-gradient(to right, hsl(159, 40%, 94%), hsl(159, 40%, 74%));
gradient dark
background: linear-gradient(to right, hsl(159, 40%, 74%), hsl(159, 40%, 54%))
hex
background-color: #A2D7C5;
tailwind
bg-[hsl(159,40%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(159, 40%, 74%, 0.4);
css variable
--color-primary: hsl(159, 40%, 74%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(159, 40%, 74%)?
HEX: #A2D7C5 | RGB: rgb(162, 215, 197) | CMYK: 25%, 0%, 8%, 16% | HSV: 160°, 25%, 84%. Copy any format from the conversion table above.
What colors go well with #A2D7C5?
The complementary color is HSL(339, 40%, 74%). 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, 40%, 74%) in CSS?
As HSL: color: hsl(159, 40%, 74%); — As HEX: color: #A2D7C5; — As RGB: color: rgb(162, 215, 197); — Tailwind CSS: bg-[hsl(159,40%,74%)] — CSS variable: --color-primary: hsl(159, 40%, 74%);