HSL(70, 40%, 50%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(70,40%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(70, 40%, 50%) | color: hsl(70, 40%, 50%) | |
| HEX | #A2B34D | color: #A2B34D | |
| RGB | rgb(162, 179, 77) | color: rgb(162, 179, 77) | |
| CMYK | cmyk(9%, 0%, 57%, 30%) | — | |
| HSV | hsv(70, 57%, 70%) | — | |
| HWB | hwb(70 30% 30%) | color: hwb(70 30% 30%) | |
| OKLCH | oklch(0.7325 0.1289 117.61) | color: oklch(0.7325 0.1289 117.61) | |
| Lab | lab(69.79 -20.67 49.13) | color: lab(69.79 -20.67 49.13) | |
| LCH | lch(69.79 53.3 112.82) | color: lch(69.79 53.3 112.82) |
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)
#A9AA66 — rgb(169, 170, 102)
Deuteranopia (Green-blind)
#A8A76C — rgb(168, 167, 108)
Tritanopia (Blue-blind)
#A3797D — rgb(163, 121, 125)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(70, 40%, 50%);
text
color: hsl(70, 40%, 50%);
border
border: 2px solid hsl(70, 40%, 50%);
gradient light
background: linear-gradient(to right, hsl(70, 40%, 70%), hsl(70, 40%, 50%));
gradient dark
background: linear-gradient(to right, hsl(70, 40%, 50%), hsl(70, 40%, 30%))
hex
background-color: #A2B34D;
tailwind
bg-[hsl(70,40%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(70, 40%, 50%, 0.4);
css variable
--color-primary: hsl(70, 40%, 50%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(70, 40%, 50%)?
HEX: #A2B34D | RGB: rgb(162, 179, 77) | CMYK: 9%, 0%, 57%, 30% | HSV: 70°, 57%, 70%. Copy any format from the conversion table above.
What colors go well with #A2B34D?
The complementary color is HSL(250, 40%, 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, 40%, 50%) in CSS?
As HSL: color: hsl(70, 40%, 50%); — As HEX: color: #A2B34D; — As RGB: color: rgb(162, 179, 77); — Tailwind CSS: bg-[hsl(70,40%,50%)] — CSS variable: --color-primary: hsl(70, 40%, 50%);