HSL(171, 52%, 82%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(171,52%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(171, 52%, 82%) | color: hsl(171, 52%, 82%) | |
| HEX | #B9E9E2 | color: #B9E9E2 | |
| RGB | rgb(185, 233, 226) | color: rgb(185, 233, 226) | |
| CMYK | cmyk(21%, 0%, 3%, 9%) | — | |
| HSV | hsv(171, 21%, 91%) | — | |
| HWB | hwb(171 72% 9%) | color: hwb(171 72% 9%) | |
| OKLCH | oklch(0.8986 0.0503 185.41) | color: oklch(0.8986 0.0503 185.41) | |
| Lab | lab(88.96 -16.77 -1.68) | color: lab(88.96 -16.77 -1.68) | |
| LCH | lch(88.96 16.85 185.72) | color: lch(88.96 16.85 185.72) |
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)
#CECEE4 — rgb(206, 206, 228)
Deuteranopia (Green-blind)
#CBC7E4 — rgb(203, 199, 228)
Tritanopia (Blue-blind)
#BBE5E5 — rgb(187, 229, 229)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(171, 52%, 82%);
text
color: hsl(171, 52%, 82%);
border
border: 2px solid hsl(171, 52%, 82%);
gradient light
background: linear-gradient(to right, hsl(171, 52%, 100%), hsl(171, 52%, 82%));
gradient dark
background: linear-gradient(to right, hsl(171, 52%, 82%), hsl(171, 52%, 62%))
hex
background-color: #B9E9E2;
tailwind
bg-[hsl(171,52%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(171, 52%, 82%, 0.4);
css variable
--color-primary: hsl(171, 52%, 82%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(171, 52%, 82%)?
HEX: #B9E9E2 | RGB: rgb(185, 233, 226) | CMYK: 21%, 0%, 3%, 9% | HSV: 171°, 21%, 91%. Copy any format from the conversion table above.
What colors go well with #B9E9E2?
The complementary color is HSL(351, 52%, 82%). For a triadic harmony, use hues 171°, 291°, and 51°. For analogous combinations, try hues 141° and 201°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(171, 52%, 82%) in CSS?
As HSL: color: hsl(171, 52%, 82%); — As HEX: color: #B9E9E2; — As RGB: color: rgb(185, 233, 226); — Tailwind CSS: bg-[hsl(171,52%,82%)] — CSS variable: --color-primary: hsl(171, 52%, 82%);