HSL(109, 42%, 21%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(109,42%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(109, 42%, 21%) | color: hsl(109, 42%, 21%) | |
| HEX | #274C1F | color: #274C1F | |
| RGB | rgb(39, 76, 31) | color: rgb(39, 76, 31) | |
| CMYK | cmyk(49%, 0%, 59%, 70%) | — | |
| HSV | hsv(109, 59%, 30%) | — | |
| HWB | hwb(109 12% 70%) | color: hwb(109 12% 70%) | |
| OKLCH | oklch(0.3769 0.0836 140.14) | color: oklch(0.3769 0.0836 140.14) | |
| Lab | lab(28.64 -23.44 22.47) | color: lab(28.64 -23.44 22.47) | |
| LCH | lch(28.64 32.47 136.21) | color: lch(28.64 32.47 136.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: white
Color Blindness Simulation
Protanopia (Red-blind)
#37372A — rgb(55, 55, 42)
Deuteranopia (Green-blind)
#35322D — rgb(53, 50, 45)
Tritanopia (Blue-blind)
#293234 — rgb(41, 50, 52)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(109, 42%, 21%);
text
color: hsl(109, 42%, 21%);
border
border: 2px solid hsl(109, 42%, 21%);
gradient light
background: linear-gradient(to right, hsl(109, 42%, 41%), hsl(109, 42%, 21%));
gradient dark
background: linear-gradient(to right, hsl(109, 42%, 21%), hsl(109, 42%, 1%))
hex
background-color: #274C1F;
tailwind
bg-[hsl(109,42%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(109, 42%, 21%, 0.4);
css variable
--color-primary: hsl(109, 42%, 21%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(109, 42%, 21%)?
HEX: #274C1F | RGB: rgb(39, 76, 31) | CMYK: 49%, 0%, 59%, 70% | HSV: 109°, 59%, 30%. Copy any format from the conversion table above.
What colors go well with #274C1F?
The complementary color is HSL(289, 42%, 21%). For a triadic harmony, use hues 109°, 229°, and 349°. For analogous combinations, try hues 79° and 139°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(109, 42%, 21%) in CSS?
As HSL: color: hsl(109, 42%, 21%); — As HEX: color: #274C1F; — As RGB: color: rgb(39, 76, 31); — Tailwind CSS: bg-[hsl(109,42%,21%)] — CSS variable: --color-primary: hsl(109, 42%, 21%);