HSL(80, 43%, 27%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(80,43%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(80, 43%, 27%) | color: hsl(80, 43%, 27%) | |
| HEX | #4F6227 | color: #4F6227 | |
| RGB | rgb(79, 98, 39) | color: rgb(79, 98, 39) | |
| CMYK | cmyk(19%, 0%, 60%, 62%) | — | |
| HSV | hsv(79, 60%, 38%) | — | |
| HWB | hwb(79 15% 62%) | color: hwb(79 15% 62%) | |
| OKLCH | oklch(0.4664 0.0872 124.62) | color: oklch(0.4664 0.0872 124.62) | |
| Lab | lab(38.8 -17.47 30.68) | color: lab(38.8 -17.47 30.68) | |
| LCH | lch(38.8 35.31 119.66) | color: lch(38.8 35.31 119.66) |
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)
#575735 — rgb(87, 87, 53)
Deuteranopia (Green-blind)
#565539 — rgb(86, 85, 57)
Tritanopia (Blue-blind)
#504143 — rgb(80, 65, 67)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(80, 43%, 27%);
text
color: hsl(80, 43%, 27%);
border
border: 2px solid hsl(80, 43%, 27%);
gradient light
background: linear-gradient(to right, hsl(80, 43%, 47%), hsl(80, 43%, 27%));
gradient dark
background: linear-gradient(to right, hsl(80, 43%, 27%), hsl(80, 43%, 7%))
hex
background-color: #4F6227;
tailwind
bg-[hsl(80,43%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(80, 43%, 27%, 0.4);
css variable
--color-primary: hsl(80, 43%, 27%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(80, 43%, 27%)?
HEX: #4F6227 | RGB: rgb(79, 98, 39) | CMYK: 19%, 0%, 60%, 62% | HSV: 79°, 60%, 38%. Copy any format from the conversion table above.
What colors go well with #4F6227?
The complementary color is HSL(260, 43%, 27%). For a triadic harmony, use hues 80°, 200°, and 320°. For analogous combinations, try hues 50° and 110°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(80, 43%, 27%) in CSS?
As HSL: color: hsl(80, 43%, 27%); — As HEX: color: #4F6227; — As RGB: color: rgb(79, 98, 39); — Tailwind CSS: bg-[hsl(80,43%,27%)] — CSS variable: --color-primary: hsl(80, 43%, 27%);