HSL(150, 100%, 26%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(150,100%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(150, 100%, 26%) | color: hsl(150, 100%, 26%) | |
| HEX | #008542 | color: #008542 | |
| RGB | rgb(0, 133, 66) | color: rgb(0, 133, 66) | |
| CMYK | cmyk(100%, 0%, 50%, 48%) | — | |
| HSV | hsv(150, 100%, 52%) | — | |
| HWB | hwb(150 0% 48%) | color: hwb(150 0% 48%) | |
| OKLCH | oklch(0.5401 0.1423 151.92) | color: oklch(0.5401 0.1423 151.92) | |
| Lab | lab(48.47 -46.91 27.48) | color: lab(48.47 -46.91 27.48) | |
| LCH | lch(48.47 54.37 149.64) | color: lch(48.47 54.37 149.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)
#3A3B52 — rgb(58, 59, 82)
Deuteranopia (Green-blind)
#322856 — rgb(50, 40, 86)
Tritanopia (Blue-blind)
#075F62 — rgb(7, 95, 98)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(150, 100%, 26%);
text
color: hsl(150, 100%, 26%);
border
border: 2px solid hsl(150, 100%, 26%);
gradient light
background: linear-gradient(to right, hsl(150, 100%, 46%), hsl(150, 100%, 26%));
gradient dark
background: linear-gradient(to right, hsl(150, 100%, 26%), hsl(150, 100%, 6%))
hex
background-color: #008542;
tailwind
bg-[hsl(150,100%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(150, 100%, 26%, 0.4);
css variable
--color-primary: hsl(150, 100%, 26%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(150, 100%, 26%)?
HEX: #008542 | RGB: rgb(0, 133, 66) | CMYK: 100%, 0%, 50%, 48% | HSV: 150°, 100%, 52%. Copy any format from the conversion table above.
What colors go well with #008542?
The complementary color is HSL(330, 100%, 26%). For a triadic harmony, use hues 150°, 270°, and 30°. For analogous combinations, try hues 120° and 180°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(150, 100%, 26%) in CSS?
As HSL: color: hsl(150, 100%, 26%); — As HEX: color: #008542; — As RGB: color: rgb(0, 133, 66); — Tailwind CSS: bg-[hsl(150,100%,26%)] — CSS variable: --color-primary: hsl(150, 100%, 26%);