HSL(157, 40%, 74%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(157,40%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(157, 40%, 74%) | color: hsl(157, 40%, 74%) | |
| HEX | #A2D7C3 | color: #A2D7C3 | |
| RGB | rgb(162, 215, 195) | color: rgb(162, 215, 195) | |
| CMYK | cmyk(25%, 0%, 9%, 16%) | — | |
| HSV | hsv(157, 25%, 84%) | — | |
| HWB | hwb(157 63% 16%) | color: hwb(157 63% 16%) | |
| OKLCH | oklch(0.8367 0.0616 169.6) | color: oklch(0.8367 0.0616 169.6) | |
| Lab | lab(81.96 -21.18 4.33) | color: lab(81.96 -21.18 4.33) | |
| LCH | lch(81.96 21.62 168.45) | color: lch(81.96 21.62 168.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)
#B9B9C8 — rgb(185, 185, 200)
Deuteranopia (Green-blind)
#B6B2C9 — rgb(182, 178, 201)
Tritanopia (Blue-blind)
#A5CCCD — rgb(165, 204, 205)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(157, 40%, 74%);
text
color: hsl(157, 40%, 74%);
border
border: 2px solid hsl(157, 40%, 74%);
gradient light
background: linear-gradient(to right, hsl(157, 40%, 94%), hsl(157, 40%, 74%));
gradient dark
background: linear-gradient(to right, hsl(157, 40%, 74%), hsl(157, 40%, 54%))
hex
background-color: #A2D7C3;
tailwind
bg-[hsl(157,40%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(157, 40%, 74%, 0.4);
css variable
--color-primary: hsl(157, 40%, 74%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(157, 40%, 74%)?
HEX: #A2D7C3 | RGB: rgb(162, 215, 195) | CMYK: 25%, 0%, 9%, 16% | HSV: 157°, 25%, 84%. Copy any format from the conversion table above.
What colors go well with #A2D7C3?
The complementary color is HSL(337, 40%, 74%). For a triadic harmony, use hues 157°, 277°, and 37°. For analogous combinations, try hues 127° and 187°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(157, 40%, 74%) in CSS?
As HSL: color: hsl(157, 40%, 74%); — As HEX: color: #A2D7C3; — As RGB: color: rgb(162, 215, 195); — Tailwind CSS: bg-[hsl(157,40%,74%)] — CSS variable: --color-primary: hsl(157, 40%, 74%);