HSL(151, 70%, 18%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(151,70%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(151, 70%, 18%) | color: hsl(151, 70%, 18%) | |
| HEX | #0E4E2F | color: #0E4E2F | |
| RGB | rgb(14, 78, 47) | color: rgb(14, 78, 47) | |
| CMYK | cmyk(82%, 0%, 40%, 69%) | — | |
| HSV | hsv(151, 82%, 31%) | — | |
| HWB | hwb(151 6% 69%) | color: hwb(151 6% 69%) | |
| OKLCH | oklch(0.3763 0.0821 156.8) | color: oklch(0.3763 0.0821 156.8) | |
| Lab | lab(28.76 -27.91 12.88) | color: lab(28.76 -27.91 12.88) | |
| LCH | lch(28.76 30.74 155.23) | color: lch(28.76 30.74 155.23) |
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)
#2A2A37 — rgb(42, 42, 55)
Deuteranopia (Green-blind)
#262138 — rgb(38, 33, 56)
Tritanopia (Blue-blind)
#113C3E — rgb(17, 60, 62)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(151, 70%, 18%);
text
color: hsl(151, 70%, 18%);
border
border: 2px solid hsl(151, 70%, 18%);
gradient light
background: linear-gradient(to right, hsl(151, 70%, 38%), hsl(151, 70%, 18%));
gradient dark
background: linear-gradient(to right, hsl(151, 70%, 18%), hsl(151, 70%, 0%))
hex
background-color: #0E4E2F;
tailwind
bg-[hsl(151,70%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(151, 70%, 18%, 0.4);
css variable
--color-primary: hsl(151, 70%, 18%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(151, 70%, 18%)?
HEX: #0E4E2F | RGB: rgb(14, 78, 47) | CMYK: 82%, 0%, 40%, 69% | HSV: 151°, 82%, 31%. Copy any format from the conversion table above.
What colors go well with #0E4E2F?
The complementary color is HSL(331, 70%, 18%). For a triadic harmony, use hues 151°, 271°, and 31°. For analogous combinations, try hues 121° and 181°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(151, 70%, 18%) in CSS?
As HSL: color: hsl(151, 70%, 18%); — As HEX: color: #0E4E2F; — As RGB: color: rgb(14, 78, 47); — Tailwind CSS: bg-[hsl(151,70%,18%)] — CSS variable: --color-primary: hsl(151, 70%, 18%);