HSL(167, 86%, 17%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(167,86%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(167, 86%, 17%) | color: hsl(167, 86%, 17%) | |
| HEX | #065140 | color: #065140 | |
| RGB | rgb(6, 81, 64) | color: rgb(6, 81, 64) | |
| CMYK | cmyk(93%, 0%, 21%, 68%) | — | |
| HSV | hsv(166, 93%, 32%) | — | |
| HWB | hwb(166 2% 68%) | color: hwb(166 2% 68%) | |
| OKLCH | oklch(0.3886 0.073 171.88) | color: oklch(0.3886 0.073 171.88) | |
| Lab | lab(30.14 -25.8 4.06) | color: lab(30.14 -25.8 4.06) | |
| LCH | lch(30.14 26.12 171.06) | color: lch(30.14 26.12 171.06) |
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)
#262744 — rgb(38, 39, 68)
Deuteranopia (Green-blind)
#221D45 — rgb(34, 29, 69)
Tritanopia (Blue-blind)
#0A4748 — rgb(10, 71, 72)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(167, 86%, 17%);
text
color: hsl(167, 86%, 17%);
border
border: 2px solid hsl(167, 86%, 17%);
gradient light
background: linear-gradient(to right, hsl(167, 86%, 37%), hsl(167, 86%, 17%));
gradient dark
background: linear-gradient(to right, hsl(167, 86%, 17%), hsl(167, 86%, 0%))
hex
background-color: #065140;
tailwind
bg-[hsl(167,86%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(167, 86%, 17%, 0.4);
css variable
--color-primary: hsl(167, 86%, 17%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(167, 86%, 17%)?
HEX: #065140 | RGB: rgb(6, 81, 64) | CMYK: 93%, 0%, 21%, 68% | HSV: 166°, 93%, 32%. Copy any format from the conversion table above.
What colors go well with #065140?
The complementary color is HSL(347, 86%, 17%). For a triadic harmony, use hues 167°, 287°, and 47°. For analogous combinations, try hues 137° and 197°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(167, 86%, 17%) in CSS?
As HSL: color: hsl(167, 86%, 17%); — As HEX: color: #065140; — As RGB: color: rgb(6, 81, 64); — Tailwind CSS: bg-[hsl(167,86%,17%)] — CSS variable: --color-primary: hsl(167, 86%, 17%);