HSL(152, 16%, 18%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(152,16%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(152, 16%, 18%) | color: hsl(152, 16%, 18%) | |
| HEX | #27352E | color: #27352E | |
| RGB | rgb(39, 53, 46) | color: rgb(39, 53, 46) | |
| CMYK | cmyk(26%, 0%, 13%, 79%) | — | |
| HSV | hsv(150, 26%, 21%) | — | |
| HWB | hwb(150 16% 79%) | color: hwb(150 16% 79%) | |
| OKLCH | oklch(0.3139 0.0225 163.1) | color: oklch(0.3139 0.0225 163.1) | |
| Lab | lab(20.73 -7.61 2.52) | color: lab(20.73 -7.61 2.52) | |
| LCH | lch(20.73 8.02 161.68) | color: lch(20.73 8.02 161.68) |
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)
#2D2D30 — rgb(45, 45, 48)
Deuteranopia (Green-blind)
#2C2B30 — rgb(44, 43, 48)
Tritanopia (Blue-blind)
#283131 — rgb(40, 49, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(152, 16%, 18%);
text
color: hsl(152, 16%, 18%);
border
border: 2px solid hsl(152, 16%, 18%);
gradient light
background: linear-gradient(to right, hsl(152, 16%, 38%), hsl(152, 16%, 18%));
gradient dark
background: linear-gradient(to right, hsl(152, 16%, 18%), hsl(152, 16%, 0%))
hex
background-color: #27352E;
tailwind
bg-[hsl(152,16%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(152, 16%, 18%, 0.4);
css variable
--color-primary: hsl(152, 16%, 18%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(152, 16%, 18%)?
HEX: #27352E | RGB: rgb(39, 53, 46) | CMYK: 26%, 0%, 13%, 79% | HSV: 150°, 26%, 21%. Copy any format from the conversion table above.
What colors go well with #27352E?
The complementary color is HSL(332, 16%, 18%). For a triadic harmony, use hues 152°, 272°, and 32°. For analogous combinations, try hues 122° and 182°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(152, 16%, 18%) in CSS?
As HSL: color: hsl(152, 16%, 18%); — As HEX: color: #27352E; — As RGB: color: rgb(39, 53, 46); — Tailwind CSS: bg-[hsl(152,16%,18%)] — CSS variable: --color-primary: hsl(152, 16%, 18%);