HSL(158, 49%, 38%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(158,49%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(158, 49%, 38%) | color: hsl(158, 49%, 38%) | |
| HEX | #31906E | color: #31906E | |
| RGB | rgb(49, 144, 110) | color: rgb(49, 144, 110) | |
| CMYK | cmyk(66%, 0%, 24%, 44%) | — | |
| HSV | hsv(159, 66%, 56%) | — | |
| HWB | hwb(159 19% 44%) | color: hwb(159 19% 44%) | |
| OKLCH | oklch(0.5884 0.1034 165.59) | color: oklch(0.5884 0.1034 165.59) | |
| Lab | lab(53.73 -36.18 10.06) | color: lab(53.73 -36.18 10.06) | |
| LCH | lch(53.73 37.55 164.46) | color: lch(53.73 37.55 164.46) |
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)
#5A5B76 — rgb(90, 91, 118)
Deuteranopia (Green-blind)
#554E78 — rgb(85, 78, 120)
Tritanopia (Blue-blind)
#367D7E — rgb(54, 125, 126)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(158, 49%, 38%);
text
color: hsl(158, 49%, 38%);
border
border: 2px solid hsl(158, 49%, 38%);
gradient light
background: linear-gradient(to right, hsl(158, 49%, 58%), hsl(158, 49%, 38%));
gradient dark
background: linear-gradient(to right, hsl(158, 49%, 38%), hsl(158, 49%, 18%))
hex
background-color: #31906E;
tailwind
bg-[hsl(158,49%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(158, 49%, 38%, 0.4);
css variable
--color-primary: hsl(158, 49%, 38%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(158, 49%, 38%)?
HEX: #31906E | RGB: rgb(49, 144, 110) | CMYK: 66%, 0%, 24%, 44% | HSV: 159°, 66%, 56%. Copy any format from the conversion table above.
What colors go well with #31906E?
The complementary color is HSL(338, 49%, 38%). 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, 49%, 38%) in CSS?
As HSL: color: hsl(158, 49%, 38%); — As HEX: color: #31906E; — As RGB: color: rgb(49, 144, 110); — Tailwind CSS: bg-[hsl(158,49%,38%)] — CSS variable: --color-primary: hsl(158, 49%, 38%);