HSL(151, 87%, 34%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(151,87%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(151, 87%, 34%) | color: hsl(151, 87%, 34%) | |
| HEX | #0BA259 | color: #0BA259 | |
| RGB | rgb(11, 162, 89) | color: rgb(11, 162, 89) | |
| CMYK | cmyk(93%, 0%, 45%, 36%) | — | |
| HSV | hsv(151, 93%, 64%) | — | |
| HWB | hwb(151 4% 36%) | color: hwb(151 4% 36%) | |
| OKLCH | oklch(0.6257 0.1566 153.65) | color: oklch(0.6257 0.1566 153.65) | |
| Lab | lab(58.63 -52.33 28.2) | color: lab(58.63 -52.33 28.2) | |
| LCH | lch(58.63 59.44 151.68) | color: lch(58.63 59.44 151.68) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#4C4E6B — rgb(76, 78, 107)
Deuteranopia (Green-blind)
#44386F — rgb(68, 56, 111)
Tritanopia (Blue-blind)
#13797C — rgb(19, 121, 124)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(151, 87%, 34%);
text
color: hsl(151, 87%, 34%);
border
border: 2px solid hsl(151, 87%, 34%);
gradient light
background: linear-gradient(to right, hsl(151, 87%, 54%), hsl(151, 87%, 34%));
gradient dark
background: linear-gradient(to right, hsl(151, 87%, 34%), hsl(151, 87%, 14%))
hex
background-color: #0BA259;
tailwind
bg-[hsl(151,87%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(151, 87%, 34%, 0.4);
css variable
--color-primary: hsl(151, 87%, 34%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(151, 87%, 34%)?
HEX: #0BA259 | RGB: rgb(11, 162, 89) | CMYK: 93%, 0%, 45%, 36% | HSV: 151°, 93%, 64%. Copy any format from the conversion table above.
What colors go well with #0BA259?
The complementary color is HSL(331, 87%, 34%). 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, 87%, 34%) in CSS?
As HSL: color: hsl(151, 87%, 34%); — As HEX: color: #0BA259; — As RGB: color: rgb(11, 162, 89); — Tailwind CSS: bg-[hsl(151,87%,34%)] — CSS variable: --color-primary: hsl(151, 87%, 34%);