HSL(151, 45%, 33%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(151,45%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(151, 45%, 33%) | color: hsl(151, 45%, 33%) | |
| HEX | #2E7A55 | color: #2E7A55 | |
| RGB | rgb(46, 122, 85) | color: rgb(46, 122, 85) | |
| CMYK | cmyk(62%, 0%, 30%, 52%) | — | |
| HSV | hsv(151, 62%, 48%) | — | |
| HWB | hwb(151 18% 52%) | color: hwb(151 18% 52%) | |
| OKLCH | oklch(0.5217 0.0957 159.06) | color: oklch(0.5217 0.0957 159.06) | |
| Lab | lab(45.85 -32.72 13.47) | color: lab(45.85 -32.72 13.47) | |
| LCH | lch(45.85 35.38 157.62) | color: lch(45.85 35.38 157.62) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#4F505E — rgb(79, 80, 94)
Deuteranopia (Green-blind)
#4B4560 — rgb(75, 69, 96)
Tritanopia (Blue-blind)
#326567 — rgb(50, 101, 103)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(151, 45%, 33%);
text
color: hsl(151, 45%, 33%);
border
border: 2px solid hsl(151, 45%, 33%);
gradient light
background: linear-gradient(to right, hsl(151, 45%, 53%), hsl(151, 45%, 33%));
gradient dark
background: linear-gradient(to right, hsl(151, 45%, 33%), hsl(151, 45%, 13%))
hex
background-color: #2E7A55;
tailwind
bg-[hsl(151,45%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(151, 45%, 33%, 0.4);
css variable
--color-primary: hsl(151, 45%, 33%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(151, 45%, 33%)?
HEX: #2E7A55 | RGB: rgb(46, 122, 85) | CMYK: 62%, 0%, 30%, 52% | HSV: 151°, 62%, 48%. Copy any format from the conversion table above.
What colors go well with #2E7A55?
The complementary color is HSL(331, 45%, 33%). 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%, 33%) in CSS?
As HSL: color: hsl(151, 45%, 33%); — As HEX: color: #2E7A55; — As RGB: color: rgb(46, 122, 85); — Tailwind CSS: bg-[hsl(151,45%,33%)] — CSS variable: --color-primary: hsl(151, 45%, 33%);