HSL(151, 70%, 23%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(151,70%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(151, 70%, 23%) | color: hsl(151, 70%, 23%) | |
| HEX | #12643C | color: #12643C | |
| RGB | rgb(18, 100, 60) | color: rgb(18, 100, 60) | |
| CMYK | cmyk(82%, 0%, 40%, 61%) | — | |
| HSV | hsv(151, 82%, 39%) | — | |
| HWB | hwb(151 7% 61%) | color: hwb(151 7% 61%) | |
| OKLCH | oklch(0.4458 0.1 156.2) | color: oklch(0.4458 0.1 156.2) | |
| Lab | lab(37.06 -33.88 16.12) | color: lab(37.06 -33.88 16.12) | |
| LCH | lch(37.06 37.52 154.56) | color: lch(37.06 37.52 154.56) |
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)
#363646 — rgb(54, 54, 70)
Deuteranopia (Green-blind)
#312B48 — rgb(49, 43, 72)
Tritanopia (Blue-blind)
#164D4F — rgb(22, 77, 79)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(151, 70%, 23%);
text
color: hsl(151, 70%, 23%);
border
border: 2px solid hsl(151, 70%, 23%);
gradient light
background: linear-gradient(to right, hsl(151, 70%, 43%), hsl(151, 70%, 23%));
gradient dark
background: linear-gradient(to right, hsl(151, 70%, 23%), hsl(151, 70%, 3%))
hex
background-color: #12643C;
tailwind
bg-[hsl(151,70%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(151, 70%, 23%, 0.4);
css variable
--color-primary: hsl(151, 70%, 23%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(151, 70%, 23%)?
HEX: #12643C | RGB: rgb(18, 100, 60) | CMYK: 82%, 0%, 40%, 61% | HSV: 151°, 82%, 39%. Copy any format from the conversion table above.
What colors go well with #12643C?
The complementary color is HSL(331, 70%, 23%). 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%, 23%) in CSS?
As HSL: color: hsl(151, 70%, 23%); — As HEX: color: #12643C; — As RGB: color: rgb(18, 100, 60); — Tailwind CSS: bg-[hsl(151,70%,23%)] — CSS variable: --color-primary: hsl(151, 70%, 23%);