HSL(150, 20%, 85%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(150,20%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(150, 20%, 85%) | color: hsl(150, 20%, 85%) | |
| HEX | #D1E0D9 | color: #D1E0D9 | |
| RGB | rgb(209, 224, 217) | color: rgb(209, 224, 217) | |
| CMYK | cmyk(7%, 0%, 3%, 12%) | — | |
| HSV | hsv(152, 7%, 88%) | — | |
| HWB | hwb(152 82% 12%) | color: hwb(152 82% 12%) | |
| OKLCH | oklch(0.8934 0.0186 166.33) | color: oklch(0.8934 0.0186 166.33) | |
| Lab | lab(87.91 -6.3 1.7) | color: lab(87.91 -6.3 1.7) | |
| LCH | lch(87.91 6.53 164.9) | color: lch(87.91 6.53 164.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)
#D7D8DB — rgb(215, 216, 219)
Deuteranopia (Green-blind)
#D7D6DB — rgb(215, 214, 219)
Tritanopia (Blue-blind)
#D2DCDC — rgb(210, 220, 220)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(150, 20%, 85%);
text
color: hsl(150, 20%, 85%);
border
border: 2px solid hsl(150, 20%, 85%);
gradient light
background: linear-gradient(to right, hsl(150, 20%, 100%), hsl(150, 20%, 85%));
gradient dark
background: linear-gradient(to right, hsl(150, 20%, 85%), hsl(150, 20%, 65%))
hex
background-color: #D1E0D9;
tailwind
bg-[hsl(150,20%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(150, 20%, 85%, 0.4);
css variable
--color-primary: hsl(150, 20%, 85%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(150, 20%, 85%)?
HEX: #D1E0D9 | RGB: rgb(209, 224, 217) | CMYK: 7%, 0%, 3%, 12% | HSV: 152°, 7%, 88%. Copy any format from the conversion table above.
What colors go well with #D1E0D9?
The complementary color is HSL(330, 20%, 85%). For a triadic harmony, use hues 150°, 270°, and 30°. For analogous combinations, try hues 120° and 180°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(150, 20%, 85%) in CSS?
As HSL: color: hsl(150, 20%, 85%); — As HEX: color: #D1E0D9; — As RGB: color: rgb(209, 224, 217); — Tailwind CSS: bg-[hsl(150,20%,85%)] — CSS variable: --color-primary: hsl(150, 20%, 85%);