HSL(166, 75%, 51%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(166,75%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(166, 75%, 51%) | color: hsl(166, 75%, 51%) | |
| HEX | #24E0B4 | color: #24E0B4 | |
| RGB | rgb(36, 224, 180) | color: rgb(36, 224, 180) | |
| CMYK | cmyk(84%, 0%, 20%, 12%) | — | |
| HSV | hsv(166, 84%, 88%) | — | |
| HWB | hwb(166 14% 12%) | color: hwb(166 14% 12%) | |
| OKLCH | oklch(0.8099 0.1528 171.2) | color: oklch(0.8099 0.1528 171.2) | |
| Lab | lab(80.17 -54.04 9.18) | color: lab(80.17 -54.04 9.18) | |
| LCH | lch(80.17 54.81 170.36) | color: lch(80.17 54.81 170.36) |
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)
#7577BF — rgb(117, 119, 191)
Deuteranopia (Green-blind)
#6B5CC1 — rgb(107, 92, 193)
Tritanopia (Blue-blind)
#2DC7C9 — rgb(45, 199, 201)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(166, 75%, 51%);
text
color: hsl(166, 75%, 51%);
border
border: 2px solid hsl(166, 75%, 51%);
gradient light
background: linear-gradient(to right, hsl(166, 75%, 71%), hsl(166, 75%, 51%));
gradient dark
background: linear-gradient(to right, hsl(166, 75%, 51%), hsl(166, 75%, 31%))
hex
background-color: #24E0B4;
tailwind
bg-[hsl(166,75%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(166, 75%, 51%, 0.4);
css variable
--color-primary: hsl(166, 75%, 51%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(166, 75%, 51%)?
HEX: #24E0B4 | RGB: rgb(36, 224, 180) | CMYK: 84%, 0%, 20%, 12% | HSV: 166°, 84%, 88%. Copy any format from the conversion table above.
What colors go well with #24E0B4?
The complementary color is HSL(346, 75%, 51%). For a triadic harmony, use hues 166°, 286°, and 46°. For analogous combinations, try hues 136° and 196°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(166, 75%, 51%) in CSS?
As HSL: color: hsl(166, 75%, 51%); — As HEX: color: #24E0B4; — As RGB: color: rgb(36, 224, 180); — Tailwind CSS: bg-[hsl(166,75%,51%)] — CSS variable: --color-primary: hsl(166, 75%, 51%);