HSL(162, 40%, 12%)
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(162,40%,12%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(162, 40%, 12%) | color: hsl(162, 40%, 12%) | |
| HEX | #122B23 | color: #122B23 | |
| RGB | rgb(18, 43, 35) | color: rgb(18, 43, 35) | |
| CMYK | cmyk(58%, 0%, 19%, 83%) | — | |
| HSV | hsv(161, 58%, 17%) | — | |
| HWB | hwb(161 7% 83%) | color: hwb(161 7% 83%) | |
| OKLCH | oklch(0.266 0.0349 170.56) | color: oklch(0.266 0.0349 170.56) | |
| Lab | lab(15.37 -12.17 2.24) | color: lab(15.37 -12.17 2.24) | |
| LCH | lch(15.37 12.37 169.57) | color: lch(15.37 12.37 169.57) |
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)
#1D1D25 — rgb(29, 29, 37)
Deuteranopia (Green-blind)
#1B1A25 — rgb(27, 26, 37)
Tritanopia (Blue-blind)
#132627 — rgb(19, 38, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(162, 40%, 12%);
text
color: hsl(162, 40%, 12%);
border
border: 2px solid hsl(162, 40%, 12%);
gradient light
background: linear-gradient(to right, hsl(162, 40%, 32%), hsl(162, 40%, 12%));
gradient dark
background: linear-gradient(to right, hsl(162, 40%, 12%), hsl(162, 40%, 0%))
hex
background-color: #122B23;
tailwind
bg-[hsl(162,40%,12%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(162, 40%, 12%, 0.4);
css variable
--color-primary: hsl(162, 40%, 12%);
Related Colors
Use Cases for Very Dark Cyan
Frequently Asked Questions
What are all the color codes for HSL(162, 40%, 12%)?
HEX: #122B23 | RGB: rgb(18, 43, 35) | CMYK: 58%, 0%, 19%, 83% | HSV: 161°, 58%, 17%. Copy any format from the conversion table above.
What colors go well with #122B23?
The complementary color is HSL(342, 40%, 12%). For a triadic harmony, use hues 162°, 282°, and 42°. For analogous combinations, try hues 132° and 192°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(162, 40%, 12%) in CSS?
As HSL: color: hsl(162, 40%, 12%); — As HEX: color: #122B23; — As RGB: color: rgb(18, 43, 35); — Tailwind CSS: bg-[hsl(162,40%,12%)] — CSS variable: --color-primary: hsl(162, 40%, 12%);