HSL(151, 52%, 37%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(151,52%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(151, 52%, 37%) | color: hsl(151, 52%, 37%) | |
| HEX | #2D8F60 | color: #2D8F60 | |
| RGB | rgb(45, 143, 96) | color: rgb(45, 143, 96) | |
| CMYK | cmyk(69%, 0%, 33%, 44%) | — | |
| HSV | hsv(151, 69%, 56%) | — | |
| HWB | hwb(151 17% 44%) | color: hwb(151 17% 44%) | |
| OKLCH | oklch(0.5811 0.1162 158.32) | color: oklch(0.5811 0.1162 158.32) | |
| Lab | lab(53 -39.7 16.97) | color: lab(53 -39.7 16.97) | |
| LCH | lch(53 43.17 156.86) | color: lch(53 43.17 156.86) |
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)
#57586B — rgb(87, 88, 107)
Deuteranopia (Green-blind)
#524A6E — rgb(82, 74, 110)
Tritanopia (Blue-blind)
#327476 — rgb(50, 116, 118)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(151, 52%, 37%);
text
color: hsl(151, 52%, 37%);
border
border: 2px solid hsl(151, 52%, 37%);
gradient light
background: linear-gradient(to right, hsl(151, 52%, 57%), hsl(151, 52%, 37%));
gradient dark
background: linear-gradient(to right, hsl(151, 52%, 37%), hsl(151, 52%, 17%))
hex
background-color: #2D8F60;
tailwind
bg-[hsl(151,52%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(151, 52%, 37%, 0.4);
css variable
--color-primary: hsl(151, 52%, 37%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(151, 52%, 37%)?
HEX: #2D8F60 | RGB: rgb(45, 143, 96) | CMYK: 69%, 0%, 33%, 44% | HSV: 151°, 69%, 56%. Copy any format from the conversion table above.
What colors go well with #2D8F60?
The complementary color is HSL(331, 52%, 37%). 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, 52%, 37%) in CSS?
As HSL: color: hsl(151, 52%, 37%); — As HEX: color: #2D8F60; — As RGB: color: rgb(45, 143, 96); — Tailwind CSS: bg-[hsl(151,52%,37%)] — CSS variable: --color-primary: hsl(151, 52%, 37%);