HSL(151, 50%, 30%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(151,50%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(151, 50%, 30%) | color: hsl(151, 50%, 30%) | |
| HEX | #26734E | color: #26734E | |
| RGB | rgb(38, 115, 78) | color: rgb(38, 115, 78) | |
| CMYK | cmyk(67%, 0%, 32%, 55%) | — | |
| HSV | hsv(151, 67%, 45%) | — | |
| HWB | hwb(151 15% 55%) | color: hwb(151 15% 55%) | |
| OKLCH | oklch(0.498 0.0961 158.74) | color: oklch(0.498 0.0961 158.74) | |
| Lab | lab(43.1 -32.86 13.75) | color: lab(43.1 -32.86 13.75) | |
| LCH | lch(43.1 35.62 157.29) | color: lch(43.1 35.62 157.29) |
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)
#474857 — rgb(71, 72, 87)
Deuteranopia (Green-blind)
#433D59 — rgb(67, 61, 89)
Tritanopia (Blue-blind)
#2A5E60 — rgb(42, 94, 96)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(151, 50%, 30%);
text
color: hsl(151, 50%, 30%);
border
border: 2px solid hsl(151, 50%, 30%);
gradient light
background: linear-gradient(to right, hsl(151, 50%, 50%), hsl(151, 50%, 30%));
gradient dark
background: linear-gradient(to right, hsl(151, 50%, 30%), hsl(151, 50%, 10%))
hex
background-color: #26734E;
tailwind
bg-[hsl(151,50%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(151, 50%, 30%, 0.4);
css variable
--color-primary: hsl(151, 50%, 30%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(151, 50%, 30%)?
HEX: #26734E | RGB: rgb(38, 115, 78) | CMYK: 67%, 0%, 32%, 55% | HSV: 151°, 67%, 45%. Copy any format from the conversion table above.
What colors go well with #26734E?
The complementary color is HSL(331, 50%, 30%). 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, 50%, 30%) in CSS?
As HSL: color: hsl(151, 50%, 30%); — As HEX: color: #26734E; — As RGB: color: rgb(38, 115, 78); — Tailwind CSS: bg-[hsl(151,50%,30%)] — CSS variable: --color-primary: hsl(151, 50%, 30%);