HSL(152, 36%, 40%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(152,36%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(152, 36%, 40%) | color: hsl(152, 36%, 40%) | |
| HEX | #418B68 | color: #418B68 | |
| RGB | rgb(65, 139, 104) | color: rgb(65, 139, 104) | |
| CMYK | cmyk(53%, 0%, 25%, 45%) | — | |
| HSV | hsv(152, 53%, 55%) | — | |
| HWB | hwb(152 26% 45%) | color: hwb(152 26% 45%) | |
| OKLCH | oklch(0.5793 0.0926 160.94) | color: oklch(0.5793 0.0926 160.94) | |
| Lab | lab(52.49 -31.74 11.82) | color: lab(52.49 -31.74 11.82) | |
| LCH | lch(52.49 33.87 159.57) | color: lch(52.49 33.87 159.57) |
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)
#616270 — rgb(97, 98, 112)
Deuteranopia (Green-blind)
#5D5773 — rgb(93, 87, 115)
Tritanopia (Blue-blind)
#457779 — rgb(69, 119, 121)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(152, 36%, 40%);
text
color: hsl(152, 36%, 40%);
border
border: 2px solid hsl(152, 36%, 40%);
gradient light
background: linear-gradient(to right, hsl(152, 36%, 60%), hsl(152, 36%, 40%));
gradient dark
background: linear-gradient(to right, hsl(152, 36%, 40%), hsl(152, 36%, 20%))
hex
background-color: #418B68;
tailwind
bg-[hsl(152,36%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(152, 36%, 40%, 0.4);
css variable
--color-primary: hsl(152, 36%, 40%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(152, 36%, 40%)?
HEX: #418B68 | RGB: rgb(65, 139, 104) | CMYK: 53%, 0%, 25%, 45% | HSV: 152°, 53%, 55%. Copy any format from the conversion table above.
What colors go well with #418B68?
The complementary color is HSL(332, 36%, 40%). For a triadic harmony, use hues 152°, 272°, and 32°. For analogous combinations, try hues 122° and 182°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(152, 36%, 40%) in CSS?
As HSL: color: hsl(152, 36%, 40%); — As HEX: color: #418B68; — As RGB: color: rgb(65, 139, 104); — Tailwind CSS: bg-[hsl(152,36%,40%)] — CSS variable: --color-primary: hsl(152, 36%, 40%);