HSL(70, 80%, 51%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(70,80%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(70, 80%, 51%) | color: hsl(70, 80%, 51%) | |
| HEX | #C5E61E | color: #C5E61E | |
| RGB | rgb(197, 230, 30) | color: rgb(197, 230, 30) | |
| CMYK | cmyk(14%, 0%, 87%, 10%) | — | |
| HSV | hsv(70, 87%, 90%) | — | |
| HWB | hwb(70 12% 10%) | color: hwb(70 12% 10%) | |
| OKLCH | oklch(0.8705 0.2007 119.81) | color: oklch(0.8705 0.2007 119.81) | |
| Lab | lab(86.28 -33.1 81.15) | color: lab(86.28 -33.1 81.15) | |
| LCH | lch(86.28 87.64 112.19) | color: lch(86.28 87.64 112.19) |
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)
#D3D44E — rgb(211, 212, 78)
Deuteranopia (Green-blind)
#D1CF5A — rgb(209, 207, 90)
Tritanopia (Blue-blind)
#C7757D — rgb(199, 117, 125)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(70, 80%, 51%);
text
color: hsl(70, 80%, 51%);
border
border: 2px solid hsl(70, 80%, 51%);
gradient light
background: linear-gradient(to right, hsl(70, 80%, 71%), hsl(70, 80%, 51%));
gradient dark
background: linear-gradient(to right, hsl(70, 80%, 51%), hsl(70, 80%, 31%))
hex
background-color: #C5E61E;
tailwind
bg-[hsl(70,80%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(70, 80%, 51%, 0.4);
css variable
--color-primary: hsl(70, 80%, 51%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(70, 80%, 51%)?
HEX: #C5E61E | RGB: rgb(197, 230, 30) | CMYK: 14%, 0%, 87%, 10% | HSV: 70°, 87%, 90%. Copy any format from the conversion table above.
What colors go well with #C5E61E?
The complementary color is HSL(250, 80%, 51%). For a triadic harmony, use hues 70°, 190°, and 310°. For analogous combinations, try hues 40° and 100°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(70, 80%, 51%) in CSS?
As HSL: color: hsl(70, 80%, 51%); — As HEX: color: #C5E61E; — As RGB: color: rgb(197, 230, 30); — Tailwind CSS: bg-[hsl(70,80%,51%)] — CSS variable: --color-primary: hsl(70, 80%, 51%);