HSL(159, 52%, 15%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(159,52%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(159, 52%, 15%) | color: hsl(159, 52%, 15%) | |
| HEX | #123A2C | color: #123A2C | |
| RGB | rgb(18, 58, 44) | color: rgb(18, 58, 44) | |
| CMYK | cmyk(69%, 0%, 24%, 77%) | — | |
| HSV | hsv(159, 69%, 23%) | — | |
| HWB | hwb(159 7% 77%) | color: hwb(159 7% 77%) | |
| OKLCH | oklch(0.3155 0.0517 166.86) | color: oklch(0.3155 0.0517 166.86) | |
| Lab | lab(21.34 -18.1 4.59) | color: lab(21.34 -18.1 4.59) | |
| LCH | lch(21.34 18.67 165.77) | color: lch(21.34 18.67 165.77) |
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)
#23242F — rgb(35, 36, 47)
Deuteranopia (Green-blind)
#211E30 — rgb(33, 30, 48)
Tritanopia (Blue-blind)
#143233 — rgb(20, 50, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(159, 52%, 15%);
text
color: hsl(159, 52%, 15%);
border
border: 2px solid hsl(159, 52%, 15%);
gradient light
background: linear-gradient(to right, hsl(159, 52%, 35%), hsl(159, 52%, 15%));
gradient dark
background: linear-gradient(to right, hsl(159, 52%, 15%), hsl(159, 52%, 0%))
hex
background-color: #123A2C;
tailwind
bg-[hsl(159,52%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(159, 52%, 15%, 0.4);
css variable
--color-primary: hsl(159, 52%, 15%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(159, 52%, 15%)?
HEX: #123A2C | RGB: rgb(18, 58, 44) | CMYK: 69%, 0%, 24%, 77% | HSV: 159°, 69%, 23%. Copy any format from the conversion table above.
What colors go well with #123A2C?
The complementary color is HSL(339, 52%, 15%). For a triadic harmony, use hues 159°, 279°, and 39°. For analogous combinations, try hues 129° and 189°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(159, 52%, 15%) in CSS?
As HSL: color: hsl(159, 52%, 15%); — As HEX: color: #123A2C; — As RGB: color: rgb(18, 58, 44); — Tailwind CSS: bg-[hsl(159,52%,15%)] — CSS variable: --color-primary: hsl(159, 52%, 15%);