HSL(151, 30%, 37%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(151,30%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(151, 30%, 37%) | color: hsl(151, 30%, 37%) | |
| HEX | #427B5F | color: #427B5F | |
| RGB | rgb(66, 123, 95) | color: rgb(66, 123, 95) | |
| CMYK | cmyk(46%, 0%, 23%, 52%) | — | |
| HSV | hsv(151, 46%, 48%) | — | |
| HWB | hwb(151 26% 52%) | color: hwb(151 26% 52%) | |
| OKLCH | oklch(0.5354 0.0754 160.99) | color: oklch(0.5354 0.0754 160.99) | |
| Lab | lab(47.17 -25.74 9.58) | color: lab(47.17 -25.74 9.58) | |
| LCH | lch(47.17 27.46 159.59) | color: lch(47.17 27.46 159.59) |
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)
#5B5B66 — rgb(91, 91, 102)
Deuteranopia (Green-blind)
#575367 — rgb(87, 83, 103)
Tritanopia (Blue-blind)
#456B6C — rgb(69, 107, 108)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(151, 30%, 37%);
text
color: hsl(151, 30%, 37%);
border
border: 2px solid hsl(151, 30%, 37%);
gradient light
background: linear-gradient(to right, hsl(151, 30%, 57%), hsl(151, 30%, 37%));
gradient dark
background: linear-gradient(to right, hsl(151, 30%, 37%), hsl(151, 30%, 17%))
hex
background-color: #427B5F;
tailwind
bg-[hsl(151,30%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(151, 30%, 37%, 0.4);
css variable
--color-primary: hsl(151, 30%, 37%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(151, 30%, 37%)?
HEX: #427B5F | RGB: rgb(66, 123, 95) | CMYK: 46%, 0%, 23%, 52% | HSV: 151°, 46%, 48%. Copy any format from the conversion table above.
What colors go well with #427B5F?
The complementary color is HSL(331, 30%, 37%). 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, 30%, 37%) in CSS?
As HSL: color: hsl(151, 30%, 37%); — As HEX: color: #427B5F; — As RGB: color: rgb(66, 123, 95); — Tailwind CSS: bg-[hsl(151,30%,37%)] — CSS variable: --color-primary: hsl(151, 30%, 37%);