HSL(178, 70%, 23%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(178,70%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(178, 70%, 23%) | color: hsl(178, 70%, 23%) | |
| HEX | #126461 | color: #126461 | |
| RGB | rgb(18, 100, 97) | color: rgb(18, 100, 97) | |
| CMYK | cmyk(82%, 0%, 3%, 61%) | — | |
| HSV | hsv(178, 82%, 39%) | — | |
| HWB | hwb(178 7% 61%) | color: hwb(178 7% 61%) | |
| OKLCH | oklch(0.457 0.0734 191.09) | color: oklch(0.457 0.0734 191.09) | |
| Lab | lab(38.03 -23.67 -5.05) | color: lab(38.03 -23.67 -5.05) | |
| LCH | lch(38.03 24.2 192.04) | color: lch(38.03 24.2 192.04) |
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)
#363662 — rgb(54, 54, 98)
Deuteranopia (Green-blind)
#312B62 — rgb(49, 43, 98)
Tritanopia (Blue-blind)
#166262 — rgb(22, 98, 98)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(178, 70%, 23%);
text
color: hsl(178, 70%, 23%);
border
border: 2px solid hsl(178, 70%, 23%);
gradient light
background: linear-gradient(to right, hsl(178, 70%, 43%), hsl(178, 70%, 23%));
gradient dark
background: linear-gradient(to right, hsl(178, 70%, 23%), hsl(178, 70%, 3%))
hex
background-color: #126461;
tailwind
bg-[hsl(178,70%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(178, 70%, 23%, 0.4);
css variable
--color-primary: hsl(178, 70%, 23%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(178, 70%, 23%)?
HEX: #126461 | RGB: rgb(18, 100, 97) | CMYK: 82%, 0%, 3%, 61% | HSV: 178°, 82%, 39%. Copy any format from the conversion table above.
What colors go well with #126461?
The complementary color is HSL(358, 70%, 23%). For a triadic harmony, use hues 178°, 298°, and 58°. For analogous combinations, try hues 148° and 208°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(178, 70%, 23%) in CSS?
As HSL: color: hsl(178, 70%, 23%); — As HEX: color: #126461; — As RGB: color: rgb(18, 100, 97); — Tailwind CSS: bg-[hsl(178,70%,23%)] — CSS variable: --color-primary: hsl(178, 70%, 23%);