HSL(167, 63%, 42%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(167,63%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(167, 63%, 42%) | color: hsl(167, 63%, 42%) | |
| HEX | #28AF91 | color: #28AF91 | |
| RGB | rgb(40, 175, 145) | color: rgb(40, 175, 145) | |
| CMYK | cmyk(77%, 0%, 17%, 31%) | — | |
| HSV | hsv(167, 77%, 69%) | — | |
| HWB | hwb(167 16% 31%) | color: hwb(167 16% 31%) | |
| OKLCH | oklch(0.677 0.12 173.52) | color: oklch(0.677 0.12 173.52) | |
| Lab | lab(64.28 -42.29 5.37) | color: lab(64.28 -42.29 5.37) | |
| LCH | lch(64.28 42.63 172.76) | color: lch(64.28 42.63 172.76) |
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)
#626498 — rgb(98, 100, 152)
Deuteranopia (Green-blind)
#5B519A — rgb(91, 81, 154)
Tritanopia (Blue-blind)
#2F9E9F — rgb(47, 158, 159)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(167, 63%, 42%);
text
color: hsl(167, 63%, 42%);
border
border: 2px solid hsl(167, 63%, 42%);
gradient light
background: linear-gradient(to right, hsl(167, 63%, 62%), hsl(167, 63%, 42%));
gradient dark
background: linear-gradient(to right, hsl(167, 63%, 42%), hsl(167, 63%, 22%))
hex
background-color: #28AF91;
tailwind
bg-[hsl(167,63%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(167, 63%, 42%, 0.4);
css variable
--color-primary: hsl(167, 63%, 42%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(167, 63%, 42%)?
HEX: #28AF91 | RGB: rgb(40, 175, 145) | CMYK: 77%, 0%, 17%, 31% | HSV: 167°, 77%, 69%. Copy any format from the conversion table above.
What colors go well with #28AF91?
The complementary color is HSL(347, 63%, 42%). For a triadic harmony, use hues 167°, 287°, and 47°. For analogous combinations, try hues 137° and 197°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(167, 63%, 42%) in CSS?
As HSL: color: hsl(167, 63%, 42%); — As HEX: color: #28AF91; — As RGB: color: rgb(40, 175, 145); — Tailwind CSS: bg-[hsl(167,63%,42%)] — CSS variable: --color-primary: hsl(167, 63%, 42%);