HSL(74, 60%, 40%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(74,60%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(74, 60%, 40%) | color: hsl(74, 60%, 40%) | |
| HEX | #87A329 | color: #87A329 | |
| RGB | rgb(135, 163, 41) | color: rgb(135, 163, 41) | |
| CMYK | cmyk(17%, 0%, 75%, 36%) | — | |
| HSV | hsv(74, 75%, 64%) | — | |
| HWB | hwb(74 16% 36%) | color: hwb(74 16% 36%) | |
| OKLCH | oklch(0.6714 0.1469 121.95) | color: oklch(0.6714 0.1469 121.95) | |
| Lab | lab(62.93 -26.45 56.19) | color: lab(62.93 -26.45 56.19) | |
| LCH | lch(62.93 62.1 115.21) | color: lch(62.93 62.1 115.21) |
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)
#939347 — rgb(147, 147, 71)
Deuteranopia (Green-blind)
#928F4E — rgb(146, 143, 78)
Tritanopia (Blue-blind)
#885E63 — rgb(136, 94, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(74, 60%, 40%);
text
color: hsl(74, 60%, 40%);
border
border: 2px solid hsl(74, 60%, 40%);
gradient light
background: linear-gradient(to right, hsl(74, 60%, 60%), hsl(74, 60%, 40%));
gradient dark
background: linear-gradient(to right, hsl(74, 60%, 40%), hsl(74, 60%, 20%))
hex
background-color: #87A329;
tailwind
bg-[hsl(74,60%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(74, 60%, 40%, 0.4);
css variable
--color-primary: hsl(74, 60%, 40%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(74, 60%, 40%)?
HEX: #87A329 | RGB: rgb(135, 163, 41) | CMYK: 17%, 0%, 75%, 36% | HSV: 74°, 75%, 64%. Copy any format from the conversion table above.
What colors go well with #87A329?
The complementary color is HSL(254, 60%, 40%). For a triadic harmony, use hues 74°, 194°, and 314°. For analogous combinations, try hues 44° and 104°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(74, 60%, 40%) in CSS?
As HSL: color: hsl(74, 60%, 40%); — As HEX: color: #87A329; — As RGB: color: rgb(135, 163, 41); — Tailwind CSS: bg-[hsl(74,60%,40%)] — CSS variable: --color-primary: hsl(74, 60%, 40%);