HSL(162, 40%, 74%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(162,40%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(162, 40%, 74%) | color: hsl(162, 40%, 74%) | |
| HEX | #A2D7C7 | color: #A2D7C7 | |
| RGB | rgb(162, 215, 199) | color: rgb(162, 215, 199) | |
| CMYK | cmyk(25%, 0%, 7%, 16%) | — | |
| HSV | hsv(162, 25%, 84%) | — | |
| HWB | hwb(162 63% 16%) | color: hwb(162 63% 16%) | |
| OKLCH | oklch(0.8378 0.0592 174.28) | color: oklch(0.8378 0.0592 174.28) | |
| Lab | lab(82.06 -20.37 2.34) | color: lab(82.06 -20.37 2.34) | |
| LCH | lch(82.06 20.5 173.45) | color: lch(82.06 20.5 173.45) |
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)
#B9B9CB — rgb(185, 185, 203)
Deuteranopia (Green-blind)
#B6B2CC — rgb(182, 178, 204)
Tritanopia (Blue-blind)
#A5CECF — rgb(165, 206, 207)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(162, 40%, 74%);
text
color: hsl(162, 40%, 74%);
border
border: 2px solid hsl(162, 40%, 74%);
gradient light
background: linear-gradient(to right, hsl(162, 40%, 94%), hsl(162, 40%, 74%));
gradient dark
background: linear-gradient(to right, hsl(162, 40%, 74%), hsl(162, 40%, 54%))
hex
background-color: #A2D7C7;
tailwind
bg-[hsl(162,40%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(162, 40%, 74%, 0.4);
css variable
--color-primary: hsl(162, 40%, 74%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(162, 40%, 74%)?
HEX: #A2D7C7 | RGB: rgb(162, 215, 199) | CMYK: 25%, 0%, 7%, 16% | HSV: 162°, 25%, 84%. Copy any format from the conversion table above.
What colors go well with #A2D7C7?
The complementary color is HSL(342, 40%, 74%). For a triadic harmony, use hues 162°, 282°, and 42°. For analogous combinations, try hues 132° and 192°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(162, 40%, 74%) in CSS?
As HSL: color: hsl(162, 40%, 74%); — As HEX: color: #A2D7C7; — As RGB: color: rgb(162, 215, 199); — Tailwind CSS: bg-[hsl(162,40%,74%)] — CSS variable: --color-primary: hsl(162, 40%, 74%);