HSL(158, 50%, 16%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(158,50%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(158, 50%, 16%) | color: hsl(158, 50%, 16%) | |
| HEX | #143D2E | color: #143D2E | |
| RGB | rgb(20, 61, 46) | color: rgb(20, 61, 46) | |
| CMYK | cmyk(67%, 0%, 25%, 76%) | — | |
| HSV | hsv(158, 67%, 24%) | — | |
| HWB | hwb(158 8% 76%) | color: hwb(158 8% 76%) | |
| OKLCH | oklch(0.3261 0.0534 166) | color: oklch(0.3261 0.0534 166) | |
| Lab | lab(22.6 -18.66 5.04) | color: lab(22.6 -18.66 5.04) | |
| LCH | lch(22.6 19.33 164.89) | color: lch(22.6 19.33 164.89) |
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)
#262632 — rgb(38, 38, 50)
Deuteranopia (Green-blind)
#232033 — rgb(35, 32, 51)
Tritanopia (Blue-blind)
#163435 — rgb(22, 52, 53)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(158, 50%, 16%);
text
color: hsl(158, 50%, 16%);
border
border: 2px solid hsl(158, 50%, 16%);
gradient light
background: linear-gradient(to right, hsl(158, 50%, 36%), hsl(158, 50%, 16%));
gradient dark
background: linear-gradient(to right, hsl(158, 50%, 16%), hsl(158, 50%, 0%))
hex
background-color: #143D2E;
tailwind
bg-[hsl(158,50%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(158, 50%, 16%, 0.4);
css variable
--color-primary: hsl(158, 50%, 16%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(158, 50%, 16%)?
HEX: #143D2E | RGB: rgb(20, 61, 46) | CMYK: 67%, 0%, 25%, 76% | HSV: 158°, 67%, 24%. Copy any format from the conversion table above.
What colors go well with #143D2E?
The complementary color is HSL(338, 50%, 16%). For a triadic harmony, use hues 158°, 278°, and 38°. For analogous combinations, try hues 128° and 188°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(158, 50%, 16%) in CSS?
As HSL: color: hsl(158, 50%, 16%); — As HEX: color: #143D2E; — As RGB: color: rgb(20, 61, 46); — Tailwind CSS: bg-[hsl(158,50%,16%)] — CSS variable: --color-primary: hsl(158, 50%, 16%);