HSL(162, 70%, 43%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(162,70%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(162, 70%, 43%) | color: hsl(162, 70%, 43%) | |
| HEX | #21BA8C | color: #21BA8C | |
| RGB | rgb(33, 186, 140) | color: rgb(33, 186, 140) | |
| CMYK | cmyk(82%, 0%, 25%, 27%) | — | |
| HSV | hsv(162, 82%, 73%) | — | |
| HWB | hwb(162 13% 27%) | color: hwb(162 13% 27%) | |
| OKLCH | oklch(0.7029 0.1384 166.43) | color: oklch(0.7029 0.1384 166.43) | |
| Lab | lab(67.53 -48.82 12.71) | color: lab(67.53 -48.82 12.71) | |
| LCH | lch(67.53 50.45 165.41) | color: lch(67.53 50.45 165.41) |
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)
#636597 — rgb(99, 101, 151)
Deuteranopia (Green-blind)
#5A4F9A — rgb(90, 79, 154)
Tritanopia (Blue-blind)
#29A0A2 — rgb(41, 160, 162)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(162, 70%, 43%);
text
color: hsl(162, 70%, 43%);
border
border: 2px solid hsl(162, 70%, 43%);
gradient light
background: linear-gradient(to right, hsl(162, 70%, 63%), hsl(162, 70%, 43%));
gradient dark
background: linear-gradient(to right, hsl(162, 70%, 43%), hsl(162, 70%, 23%))
hex
background-color: #21BA8C;
tailwind
bg-[hsl(162,70%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(162, 70%, 43%, 0.4);
css variable
--color-primary: hsl(162, 70%, 43%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(162, 70%, 43%)?
HEX: #21BA8C | RGB: rgb(33, 186, 140) | CMYK: 82%, 0%, 25%, 27% | HSV: 162°, 82%, 73%. Copy any format from the conversion table above.
What colors go well with #21BA8C?
The complementary color is HSL(342, 70%, 43%). For a triadic harmony, use hues 162°, 282°, and 42°. For analogous combinations, try hues 132° and 192°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(162, 70%, 43%) in CSS?
As HSL: color: hsl(162, 70%, 43%); — As HEX: color: #21BA8C; — As RGB: color: rgb(33, 186, 140); — Tailwind CSS: bg-[hsl(162,70%,43%)] — CSS variable: --color-primary: hsl(162, 70%, 43%);