HSL(161, 52%, 26%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(161,52%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(161, 52%, 26%) | color: hsl(161, 52%, 26%) | |
| HEX | #20654F | color: #20654F | |
| RGB | rgb(32, 101, 79) | color: rgb(32, 101, 79) | |
| CMYK | cmyk(68%, 0%, 22%, 60%) | — | |
| HSV | hsv(161, 68%, 40%) | — | |
| HWB | hwb(161 13% 60%) | color: hwb(161 13% 60%) | |
| OKLCH | oklch(0.4572 0.0778 168.17) | color: oklch(0.4572 0.0778 168.17) | |
| Lab | lab(38.16 -27.32 6.23) | color: lab(38.16 -27.32 6.23) | |
| LCH | lch(38.16 28.02 167.15) | color: lch(38.16 28.02 167.15) |
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)
#3E3E54 — rgb(62, 62, 84)
Deuteranopia (Green-blind)
#3A3556 — rgb(58, 53, 86)
Tritanopia (Blue-blind)
#235959 — rgb(35, 89, 89)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(161, 52%, 26%);
text
color: hsl(161, 52%, 26%);
border
border: 2px solid hsl(161, 52%, 26%);
gradient light
background: linear-gradient(to right, hsl(161, 52%, 46%), hsl(161, 52%, 26%));
gradient dark
background: linear-gradient(to right, hsl(161, 52%, 26%), hsl(161, 52%, 6%))
hex
background-color: #20654F;
tailwind
bg-[hsl(161,52%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(161, 52%, 26%, 0.4);
css variable
--color-primary: hsl(161, 52%, 26%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(161, 52%, 26%)?
HEX: #20654F | RGB: rgb(32, 101, 79) | CMYK: 68%, 0%, 22%, 60% | HSV: 161°, 68%, 40%. Copy any format from the conversion table above.
What colors go well with #20654F?
The complementary color is HSL(341, 52%, 26%). For a triadic harmony, use hues 161°, 281°, and 41°. For analogous combinations, try hues 131° and 191°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(161, 52%, 26%) in CSS?
As HSL: color: hsl(161, 52%, 26%); — As HEX: color: #20654F; — As RGB: color: rgb(32, 101, 79); — Tailwind CSS: bg-[hsl(161,52%,26%)] — CSS variable: --color-primary: hsl(161, 52%, 26%);