HSL(151, 45%, 23%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(151,45%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(151, 45%, 23%) | color: hsl(151, 45%, 23%) | |
| HEX | #20553C | color: #20553C | |
| RGB | rgb(32, 85, 60) | color: rgb(32, 85, 60) | |
| CMYK | cmyk(62%, 0%, 29%, 67%) | — | |
| HSV | hsv(152, 62%, 33%) | — | |
| HWB | hwb(152 13% 67%) | color: hwb(152 13% 67%) | |
| OKLCH | oklch(0.4061 0.071 160.2) | color: oklch(0.4061 0.071 160.2) | |
| Lab | lab(32.1 -24.34 9.43) | color: lab(32.1 -24.34 9.43) | |
| LCH | lch(32.1 26.1 158.82) | color: lch(32.1 26.1 158.82) |
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)
#373742 — rgb(55, 55, 66)
Deuteranopia (Green-blind)
#343044 — rgb(52, 48, 68)
Tritanopia (Blue-blind)
#234748 — rgb(35, 71, 72)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(151, 45%, 23%);
text
color: hsl(151, 45%, 23%);
border
border: 2px solid hsl(151, 45%, 23%);
gradient light
background: linear-gradient(to right, hsl(151, 45%, 43%), hsl(151, 45%, 23%));
gradient dark
background: linear-gradient(to right, hsl(151, 45%, 23%), hsl(151, 45%, 3%))
hex
background-color: #20553C;
tailwind
bg-[hsl(151,45%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(151, 45%, 23%, 0.4);
css variable
--color-primary: hsl(151, 45%, 23%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(151, 45%, 23%)?
HEX: #20553C | RGB: rgb(32, 85, 60) | CMYK: 62%, 0%, 29%, 67% | HSV: 152°, 62%, 33%. Copy any format from the conversion table above.
What colors go well with #20553C?
The complementary color is HSL(331, 45%, 23%). 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%, 23%) in CSS?
As HSL: color: hsl(151, 45%, 23%); — As HEX: color: #20553C; — As RGB: color: rgb(32, 85, 60); — Tailwind CSS: bg-[hsl(151,45%,23%)] — CSS variable: --color-primary: hsl(151, 45%, 23%);