HSL(162, 50%, 35%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(162,50%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(162, 50%, 35%) | color: hsl(162, 50%, 35%) | |
| HEX | #2D866B | color: #2D866B | |
| RGB | rgb(45, 134, 107) | color: rgb(45, 134, 107) | |
| CMYK | cmyk(66%, 0%, 20%, 47%) | — | |
| HSV | hsv(162, 66%, 53%) | — | |
| HWB | hwb(162 18% 47%) | color: hwb(162 18% 47%) | |
| OKLCH | oklch(0.5597 0.0942 169.22) | color: oklch(0.5597 0.0942 169.22) | |
| Lab | lab(50.3 -33.13 6.9) | color: lab(50.3 -33.13 6.9) | |
| LCH | lch(50.3 33.84 168.24) | color: lch(50.3 33.84 168.24) |
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)
#545472 — rgb(84, 84, 114)
Deuteranopia (Green-blind)
#4E4873 — rgb(78, 72, 115)
Tritanopia (Blue-blind)
#317778 — rgb(49, 119, 120)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(162, 50%, 35%);
text
color: hsl(162, 50%, 35%);
border
border: 2px solid hsl(162, 50%, 35%);
gradient light
background: linear-gradient(to right, hsl(162, 50%, 55%), hsl(162, 50%, 35%));
gradient dark
background: linear-gradient(to right, hsl(162, 50%, 35%), hsl(162, 50%, 15%))
hex
background-color: #2D866B;
tailwind
bg-[hsl(162,50%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(162, 50%, 35%, 0.4);
css variable
--color-primary: hsl(162, 50%, 35%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(162, 50%, 35%)?
HEX: #2D866B | RGB: rgb(45, 134, 107) | CMYK: 66%, 0%, 20%, 47% | HSV: 162°, 66%, 53%. Copy any format from the conversion table above.
What colors go well with #2D866B?
The complementary color is HSL(342, 50%, 35%). 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, 50%, 35%) in CSS?
As HSL: color: hsl(162, 50%, 35%); — As HEX: color: #2D866B; — As RGB: color: rgb(45, 134, 107); — Tailwind CSS: bg-[hsl(162,50%,35%)] — CSS variable: --color-primary: hsl(162, 50%, 35%);