HSL(157, 80%, 8%)
Very Dark Cyan — Cyan color
Adjust Color
Color Information
Color Name
Very Dark Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(157,80%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(157, 80%, 8%) | color: hsl(157, 80%, 8%) | |
| HEX | #042518 | color: #042518 | |
| RGB | rgb(4, 37, 24) | color: rgb(4, 37, 24) | |
| CMYK | cmyk(89%, 0%, 35%, 85%) | — | |
| HSV | hsv(156, 89%, 15%) | — | |
| HWB | hwb(156 2% 85%) | color: hwb(156 2% 85%) | |
| OKLCH | oklch(0.2362 0.0461 163.09) | color: oklch(0.2362 0.0461 163.09) | |
| Lab | lab(12.06 -16.08 5.26) | color: lab(12.06 -16.08 5.26) | |
| LCH | lch(12.06 16.92 161.89) | color: lch(12.06 16.92 161.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)
#12131B — rgb(18, 19, 27)
Deuteranopia (Green-blind)
#100E1C — rgb(16, 14, 28)
Tritanopia (Blue-blind)
#061E1E — rgb(6, 30, 30)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(157, 80%, 8%);
text
color: hsl(157, 80%, 8%);
border
border: 2px solid hsl(157, 80%, 8%);
gradient light
background: linear-gradient(to right, hsl(157, 80%, 28%), hsl(157, 80%, 8%));
gradient dark
background: linear-gradient(to right, hsl(157, 80%, 8%), hsl(157, 80%, 0%))
hex
background-color: #042518;
tailwind
bg-[hsl(157,80%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(157, 80%, 8%, 0.4);
css variable
--color-primary: hsl(157, 80%, 8%);
Related Colors
Use Cases for Very Dark Cyan
Frequently Asked Questions
What are all the color codes for HSL(157, 80%, 8%)?
HEX: #042518 | RGB: rgb(4, 37, 24) | CMYK: 89%, 0%, 35%, 85% | HSV: 156°, 89%, 15%. Copy any format from the conversion table above.
What colors go well with #042518?
The complementary color is HSL(337, 80%, 8%). For a triadic harmony, use hues 157°, 277°, and 37°. For analogous combinations, try hues 127° and 187°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(157, 80%, 8%) in CSS?
As HSL: color: hsl(157, 80%, 8%); — As HEX: color: #042518; — As RGB: color: rgb(4, 37, 24); — Tailwind CSS: bg-[hsl(157,80%,8%)] — CSS variable: --color-primary: hsl(157, 80%, 8%);