HSL(87, 40%, 29%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(87,40%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(87, 40%, 29%) | color: hsl(87, 40%, 29%) | |
| HEX | #4D682C | color: #4D682C | |
| RGB | rgb(77, 104, 44) | color: rgb(77, 104, 44) | |
| CMYK | cmyk(26%, 0%, 58%, 59%) | — | |
| HSV | hsv(87, 58%, 41%) | — | |
| HWB | hwb(87 17% 59%) | color: hwb(87 17% 59%) | |
| OKLCH | oklch(0.4813 0.0923 129.46) | color: oklch(0.4813 0.0923 129.46) | |
| Lab | lab(40.67 -20.98 30.2) | color: lab(40.67 -20.98 30.2) | |
| LCH | lch(40.67 36.77 124.79) | color: lch(40.67 36.77 124.79) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#59593B — rgb(89, 89, 59)
Deuteranopia (Green-blind)
#57553E — rgb(87, 85, 62)
Tritanopia (Blue-blind)
#4E4649 — rgb(78, 70, 73)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(87, 40%, 29%);
text
color: hsl(87, 40%, 29%);
border
border: 2px solid hsl(87, 40%, 29%);
gradient light
background: linear-gradient(to right, hsl(87, 40%, 49%), hsl(87, 40%, 29%));
gradient dark
background: linear-gradient(to right, hsl(87, 40%, 29%), hsl(87, 40%, 9%))
hex
background-color: #4D682C;
tailwind
bg-[hsl(87,40%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(87, 40%, 29%, 0.4);
css variable
--color-primary: hsl(87, 40%, 29%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(87, 40%, 29%)?
HEX: #4D682C | RGB: rgb(77, 104, 44) | CMYK: 26%, 0%, 58%, 59% | HSV: 87°, 58%, 41%. Copy any format from the conversion table above.
What colors go well with #4D682C?
The complementary color is HSL(267, 40%, 29%). For a triadic harmony, use hues 87°, 207°, and 327°. For analogous combinations, try hues 57° and 117°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(87, 40%, 29%) in CSS?
As HSL: color: hsl(87, 40%, 29%); — As HEX: color: #4D682C; — As RGB: color: rgb(77, 104, 44); — Tailwind CSS: bg-[hsl(87,40%,29%)] — CSS variable: --color-primary: hsl(87, 40%, 29%);