HSL(157, 55%, 30%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(157,55%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(157, 55%, 30%) | color: hsl(157, 55%, 30%) | |
| HEX | #227756 | color: #227756 | |
| RGB | rgb(34, 119, 86) | color: rgb(34, 119, 86) | |
| CMYK | cmyk(71%, 0%, 28%, 53%) | — | |
| HSV | hsv(157, 71%, 47%) | — | |
| HWB | hwb(157 14% 53%) | color: hwb(157 14% 53%) | |
| OKLCH | oklch(0.51 0.0962 163.05) | color: oklch(0.51 0.0962 163.05) | |
| Lab | lab(44.52 -33.53 11) | color: lab(44.52 -33.53 11) | |
| LCH | lch(44.52 35.29 161.84) | color: lch(44.52 35.29 161.84) |
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)
#47485E — rgb(71, 72, 94)
Deuteranopia (Green-blind)
#423C60 — rgb(66, 60, 96)
Tritanopia (Blue-blind)
#266466 — rgb(38, 100, 102)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(157, 55%, 30%);
text
color: hsl(157, 55%, 30%);
border
border: 2px solid hsl(157, 55%, 30%);
gradient light
background: linear-gradient(to right, hsl(157, 55%, 50%), hsl(157, 55%, 30%));
gradient dark
background: linear-gradient(to right, hsl(157, 55%, 30%), hsl(157, 55%, 10%))
hex
background-color: #227756;
tailwind
bg-[hsl(157,55%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(157, 55%, 30%, 0.4);
css variable
--color-primary: hsl(157, 55%, 30%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(157, 55%, 30%)?
HEX: #227756 | RGB: rgb(34, 119, 86) | CMYK: 71%, 0%, 28%, 53% | HSV: 157°, 71%, 47%. Copy any format from the conversion table above.
What colors go well with #227756?
The complementary color is HSL(337, 55%, 30%). For a triadic harmony, use hues 157°, 277°, and 37°. For analogous combinations, try hues 127° and 187°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(157, 55%, 30%) in CSS?
As HSL: color: hsl(157, 55%, 30%); — As HEX: color: #227756; — As RGB: color: rgb(34, 119, 86); — Tailwind CSS: bg-[hsl(157,55%,30%)] — CSS variable: --color-primary: hsl(157, 55%, 30%);