HSL(75, 70%, 40%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(75,70%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(75, 70%, 40%) | color: hsl(75, 70%, 40%) | |
| HEX | #8AAD1F | color: #8AAD1F | |
| RGB | rgb(138, 173, 31) | color: rgb(138, 173, 31) | |
| CMYK | cmyk(20%, 0%, 82%, 32%) | — | |
| HSV | hsv(75, 82%, 68%) | — | |
| HWB | hwb(75 12% 32%) | color: hwb(75 12% 32%) | |
| OKLCH | oklch(0.697 0.1625 123.45) | color: oklch(0.697 0.1625 123.45) | |
| Lab | lab(66.05 -30.46 62.22) | color: lab(66.05 -30.46 62.22) | |
| LCH | lch(66.05 69.28 116.08) | color: lch(66.05 69.28 116.08) |
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)
#999941 — rgb(153, 153, 65)
Deuteranopia (Green-blind)
#97954A — rgb(151, 149, 74)
Tritanopia (Blue-blind)
#8C5C62 — rgb(140, 92, 98)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(75, 70%, 40%);
text
color: hsl(75, 70%, 40%);
border
border: 2px solid hsl(75, 70%, 40%);
gradient light
background: linear-gradient(to right, hsl(75, 70%, 60%), hsl(75, 70%, 40%));
gradient dark
background: linear-gradient(to right, hsl(75, 70%, 40%), hsl(75, 70%, 20%))
hex
background-color: #8AAD1F;
tailwind
bg-[hsl(75,70%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(75, 70%, 40%, 0.4);
css variable
--color-primary: hsl(75, 70%, 40%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(75, 70%, 40%)?
HEX: #8AAD1F | RGB: rgb(138, 173, 31) | CMYK: 20%, 0%, 82%, 32% | HSV: 75°, 82%, 68%. Copy any format from the conversion table above.
What colors go well with #8AAD1F?
The complementary color is HSL(255, 70%, 40%). For a triadic harmony, use hues 75°, 195°, and 315°. For analogous combinations, try hues 45° and 105°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(75, 70%, 40%) in CSS?
As HSL: color: hsl(75, 70%, 40%); — As HEX: color: #8AAD1F; — As RGB: color: rgb(138, 173, 31); — Tailwind CSS: bg-[hsl(75,70%,40%)] — CSS variable: --color-primary: hsl(75, 70%, 40%);