HSL(154, 83%, 27%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(154,83%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(154, 83%, 27%) | color: hsl(154, 83%, 27%) | |
| HEX | #0C7E4C | color: #0C7E4C | |
| RGB | rgb(12, 126, 76) | color: rgb(12, 126, 76) | |
| CMYK | cmyk(90%, 0%, 40%, 51%) | — | |
| HSV | hsv(154, 90%, 49%) | — | |
| HWB | hwb(154 5% 51%) | color: hwb(154 5% 51%) | |
| OKLCH | oklch(0.5232 0.1217 156.76) | color: oklch(0.5232 0.1217 156.76) | |
| Lab | lab(46.34 -41.52 19.21) | color: lab(46.34 -41.52 19.21) | |
| LCH | lch(46.34 45.75 155.17) | color: lch(46.34 45.75 155.17) |
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)
#3D3E58 — rgb(61, 62, 88)
Deuteranopia (Green-blind)
#372E5B — rgb(55, 46, 91)
Tritanopia (Blue-blind)
#126264 — rgb(18, 98, 100)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(154, 83%, 27%);
text
color: hsl(154, 83%, 27%);
border
border: 2px solid hsl(154, 83%, 27%);
gradient light
background: linear-gradient(to right, hsl(154, 83%, 47%), hsl(154, 83%, 27%));
gradient dark
background: linear-gradient(to right, hsl(154, 83%, 27%), hsl(154, 83%, 7%))
hex
background-color: #0C7E4C;
tailwind
bg-[hsl(154,83%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(154, 83%, 27%, 0.4);
css variable
--color-primary: hsl(154, 83%, 27%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(154, 83%, 27%)?
HEX: #0C7E4C | RGB: rgb(12, 126, 76) | CMYK: 90%, 0%, 40%, 51% | HSV: 154°, 90%, 49%. Copy any format from the conversion table above.
What colors go well with #0C7E4C?
The complementary color is HSL(334, 83%, 27%). For a triadic harmony, use hues 154°, 274°, and 34°. For analogous combinations, try hues 124° and 184°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(154, 83%, 27%) in CSS?
As HSL: color: hsl(154, 83%, 27%); — As HEX: color: #0C7E4C; — As RGB: color: rgb(12, 126, 76); — Tailwind CSS: bg-[hsl(154,83%,27%)] — CSS variable: --color-primary: hsl(154, 83%, 27%);