HSL(156, 78%, 20%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(156,78%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(156, 78%, 20%) | color: hsl(156, 78%, 20%) | |
| HEX | #0B5B3B | color: #0B5B3B | |
| RGB | rgb(11, 91, 59) | color: rgb(11, 91, 59) | |
| CMYK | cmyk(88%, 0%, 35%, 64%) | — | |
| HSV | hsv(156, 88%, 36%) | — | |
| HWB | hwb(156 4% 64%) | color: hwb(156 4% 64%) | |
| OKLCH | oklch(0.4178 0.09 159.98) | color: oklch(0.4178 0.09 159.98) | |
| Lab | lab(33.71 -31.15 12.18) | color: lab(33.71 -31.15 12.18) | |
| LCH | lch(33.71 33.45 158.64) | color: lch(33.71 33.45 158.64) |
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)
#2E2E43 — rgb(46, 46, 67)
Deuteranopia (Green-blind)
#292345 — rgb(41, 35, 69)
Tritanopia (Blue-blind)
#0F494A — rgb(15, 73, 74)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(156, 78%, 20%);
text
color: hsl(156, 78%, 20%);
border
border: 2px solid hsl(156, 78%, 20%);
gradient light
background: linear-gradient(to right, hsl(156, 78%, 40%), hsl(156, 78%, 20%));
gradient dark
background: linear-gradient(to right, hsl(156, 78%, 20%), hsl(156, 78%, 0%))
hex
background-color: #0B5B3B;
tailwind
bg-[hsl(156,78%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(156, 78%, 20%, 0.4);
css variable
--color-primary: hsl(156, 78%, 20%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(156, 78%, 20%)?
HEX: #0B5B3B | RGB: rgb(11, 91, 59) | CMYK: 88%, 0%, 35%, 64% | HSV: 156°, 88%, 36%. Copy any format from the conversion table above.
What colors go well with #0B5B3B?
The complementary color is HSL(336, 78%, 20%). For a triadic harmony, use hues 156°, 276°, and 36°. For analogous combinations, try hues 126° and 186°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(156, 78%, 20%) in CSS?
As HSL: color: hsl(156, 78%, 20%); — As HEX: color: #0B5B3B; — As RGB: color: rgb(11, 91, 59); — Tailwind CSS: bg-[hsl(156,78%,20%)] — CSS variable: --color-primary: hsl(156, 78%, 20%);