HSL(146, 20%, 25%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(146,20%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(146, 20%, 25%) | color: hsl(146, 20%, 25%) | |
| HEX | #334D3E | color: #334D3E | |
| RGB | rgb(51, 77, 62) | color: rgb(51, 77, 62) | |
| CMYK | cmyk(34%, 0%, 19%, 70%) | — | |
| HSV | hsv(145, 34%, 30%) | — | |
| HWB | hwb(145 20% 70%) | color: hwb(145 20% 70%) | |
| OKLCH | oklch(0.3942 0.0407 158.55) | color: oklch(0.3942 0.0407 158.55) | |
| Lab | lab(30.3 -13.63 5.78) | color: lab(30.3 -13.63 5.78) | |
| LCH | lch(30.3 14.8 157.02) | color: lch(30.3 14.8 157.02) |
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)
#3E3E42 — rgb(62, 62, 66)
Deuteranopia (Green-blind)
#3D3B43 — rgb(61, 59, 67)
Tritanopia (Blue-blind)
#344445 — rgb(52, 68, 69)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(146, 20%, 25%);
text
color: hsl(146, 20%, 25%);
border
border: 2px solid hsl(146, 20%, 25%);
gradient light
background: linear-gradient(to right, hsl(146, 20%, 45%), hsl(146, 20%, 25%));
gradient dark
background: linear-gradient(to right, hsl(146, 20%, 25%), hsl(146, 20%, 5%))
hex
background-color: #334D3E;
tailwind
bg-[hsl(146,20%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(146, 20%, 25%, 0.4);
css variable
--color-primary: hsl(146, 20%, 25%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(146, 20%, 25%)?
HEX: #334D3E | RGB: rgb(51, 77, 62) | CMYK: 34%, 0%, 19%, 70% | HSV: 145°, 34%, 30%. Copy any format from the conversion table above.
What colors go well with #334D3E?
The complementary color is HSL(326, 20%, 25%). For a triadic harmony, use hues 146°, 266°, and 26°. For analogous combinations, try hues 116° and 176°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(146, 20%, 25%) in CSS?
As HSL: color: hsl(146, 20%, 25%); — As HEX: color: #334D3E; — As RGB: color: rgb(51, 77, 62); — Tailwind CSS: bg-[hsl(146,20%,25%)] — CSS variable: --color-primary: hsl(146, 20%, 25%);