HSL(70, 50%, 50%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(70,50%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(70, 50%, 50%) | color: hsl(70, 50%, 50%) | |
| HEX | #AABF40 | color: #AABF40 | |
| RGB | rgb(170, 191, 64) | color: rgb(170, 191, 64) | |
| CMYK | cmyk(11%, 0%, 66%, 25%) | — | |
| HSV | hsv(70, 66%, 75%) | — | |
| HWB | hwb(70 26% 25%) | color: hwb(70 26% 25%) | |
| OKLCH | oklch(0.7646 0.1514 118.21) | color: oklch(0.7646 0.1514 118.21) | |
| Lab | lab(73.66 -24.26 59.08) | color: lab(73.66 -24.26 59.08) | |
| LCH | lch(73.66 63.87 112.32) | color: lch(73.66 63.87 112.32) |
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)
#B3B35F — rgb(179, 179, 95)
Deuteranopia (Green-blind)
#B2B066 — rgb(178, 176, 102)
Tritanopia (Blue-blind)
#AB777C — rgb(171, 119, 124)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(70, 50%, 50%);
text
color: hsl(70, 50%, 50%);
border
border: 2px solid hsl(70, 50%, 50%);
gradient light
background: linear-gradient(to right, hsl(70, 50%, 70%), hsl(70, 50%, 50%));
gradient dark
background: linear-gradient(to right, hsl(70, 50%, 50%), hsl(70, 50%, 30%))
hex
background-color: #AABF40;
tailwind
bg-[hsl(70,50%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(70, 50%, 50%, 0.4);
css variable
--color-primary: hsl(70, 50%, 50%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(70, 50%, 50%)?
HEX: #AABF40 | RGB: rgb(170, 191, 64) | CMYK: 11%, 0%, 66%, 25% | HSV: 70°, 66%, 75%. Copy any format from the conversion table above.
What colors go well with #AABF40?
The complementary color is HSL(250, 50%, 50%). 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, 50%, 50%) in CSS?
As HSL: color: hsl(70, 50%, 50%); — As HEX: color: #AABF40; — As RGB: color: rgb(170, 191, 64); — Tailwind CSS: bg-[hsl(70,50%,50%)] — CSS variable: --color-primary: hsl(70, 50%, 50%);