HSL(121, 40%, 30%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(121,40%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(121, 40%, 30%) | color: hsl(121, 40%, 30%) | |
| HEX | #2E6B2F | color: #2E6B2F | |
| RGB | rgb(46, 107, 47) | color: rgb(46, 107, 47) | |
| CMYK | cmyk(57%, 0%, 56%, 58%) | — | |
| HSV | hsv(121, 57%, 42%) | — | |
| HWB | hwb(121 18% 58%) | color: hwb(121 18% 58%) | |
| OKLCH | oklch(0.4723 0.1117 143.84) | color: oklch(0.4723 0.1117 143.84) | |
| Lab | lab(40.08 -33.18 27.51) | color: lab(40.08 -33.18 27.51) | |
| LCH | lch(40.08 43.1 140.34) | color: lch(40.08 43.1 140.34) |
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)
#48493E — rgb(72, 73, 62)
Deuteranopia (Green-blind)
#454041 — rgb(69, 64, 65)
Tritanopia (Blue-blind)
#31494C — rgb(49, 73, 76)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(121, 40%, 30%);
text
color: hsl(121, 40%, 30%);
border
border: 2px solid hsl(121, 40%, 30%);
gradient light
background: linear-gradient(to right, hsl(121, 40%, 50%), hsl(121, 40%, 30%));
gradient dark
background: linear-gradient(to right, hsl(121, 40%, 30%), hsl(121, 40%, 10%))
hex
background-color: #2E6B2F;
tailwind
bg-[hsl(121,40%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(121, 40%, 30%, 0.4);
css variable
--color-primary: hsl(121, 40%, 30%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(121, 40%, 30%)?
HEX: #2E6B2F | RGB: rgb(46, 107, 47) | CMYK: 57%, 0%, 56%, 58% | HSV: 121°, 57%, 42%. Copy any format from the conversion table above.
What colors go well with #2E6B2F?
The complementary color is HSL(301, 40%, 30%). For a triadic harmony, use hues 121°, 241°, and 1°. For analogous combinations, try hues 91° and 151°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(121, 40%, 30%) in CSS?
As HSL: color: hsl(121, 40%, 30%); — As HEX: color: #2E6B2F; — As RGB: color: rgb(46, 107, 47); — Tailwind CSS: bg-[hsl(121,40%,30%)] — CSS variable: --color-primary: hsl(121, 40%, 30%);