HSL(151, 45%, 47%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(151,45%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(151, 45%, 47%) | color: hsl(151, 45%, 47%) | |
| HEX | #42AE7A | color: #42AE7A | |
| RGB | rgb(66, 174, 122) | color: rgb(66, 174, 122) | |
| CMYK | cmyk(62%, 0%, 30%, 32%) | — | |
| HSV | hsv(151, 62%, 68%) | — | |
| HWB | hwb(151 26% 32%) | color: hwb(151 26% 32%) | |
| OKLCH | oklch(0.6748 0.1262 159.07) | color: oklch(0.6748 0.1262 159.07) | |
| Lab | lab(64.03 -43.18 17.76) | color: lab(64.03 -43.18 17.76) | |
| LCH | lch(64.03 46.69 157.64) | color: lch(64.03 46.69 157.64) |
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)
#717287 — rgb(113, 114, 135)
Deuteranopia (Green-blind)
#6B628A — rgb(107, 98, 138)
Tritanopia (Blue-blind)
#479193 — rgb(71, 145, 147)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(151, 45%, 47%);
text
color: hsl(151, 45%, 47%);
border
border: 2px solid hsl(151, 45%, 47%);
gradient light
background: linear-gradient(to right, hsl(151, 45%, 67%), hsl(151, 45%, 47%));
gradient dark
background: linear-gradient(to right, hsl(151, 45%, 47%), hsl(151, 45%, 27%))
hex
background-color: #42AE7A;
tailwind
bg-[hsl(151,45%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(151, 45%, 47%, 0.4);
css variable
--color-primary: hsl(151, 45%, 47%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(151, 45%, 47%)?
HEX: #42AE7A | RGB: rgb(66, 174, 122) | CMYK: 62%, 0%, 30%, 32% | HSV: 151°, 62%, 68%. Copy any format from the conversion table above.
What colors go well with #42AE7A?
The complementary color is HSL(331, 45%, 47%). For a triadic harmony, use hues 151°, 271°, and 31°. For analogous combinations, try hues 121° and 181°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(151, 45%, 47%) in CSS?
As HSL: color: hsl(151, 45%, 47%); — As HEX: color: #42AE7A; — As RGB: color: rgb(66, 174, 122); — Tailwind CSS: bg-[hsl(151,45%,47%)] — CSS variable: --color-primary: hsl(151, 45%, 47%);