HSL(76, 25%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(76,25%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(76, 25%, 18%) | color: hsl(76, 25%, 18%) | |
| HEX | #333922 | color: #333922 | |
| RGB | rgb(51, 57, 34) | color: rgb(51, 57, 34) | |
| CMYK | cmyk(11%, 0%, 40%, 78%) | — | |
| HSV | hsv(76, 40%, 22%) | — | |
| HWB | hwb(76 13% 78%) | color: hwb(76 13% 78%) | |
| OKLCH | oklch(0.332 0.0388 120.45) | color: oklch(0.332 0.0388 120.45) | |
| Lab | lab(22.81 -7.25 13.52) | color: lab(22.81 -7.25 13.52) | |
| LCH | lch(22.81 15.34 118.2) | color: lch(22.81 15.34 118.2) |
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)
#363628 — rgb(54, 54, 40)
Deuteranopia (Green-blind)
#353529 — rgb(53, 53, 41)
Tritanopia (Blue-blind)
#332C2D — rgb(51, 44, 45)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(76, 25%, 18%);
text
color: hsl(76, 25%, 18%);
border
border: 2px solid hsl(76, 25%, 18%);
gradient light
background: linear-gradient(to right, hsl(76, 25%, 38%), hsl(76, 25%, 18%));
gradient dark
background: linear-gradient(to right, hsl(76, 25%, 18%), hsl(76, 25%, 0%))
hex
background-color: #333922;
tailwind
bg-[hsl(76,25%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(76, 25%, 18%, 0.4);
css variable
--color-primary: hsl(76, 25%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(76, 25%, 18%)?
HEX: #333922 | RGB: rgb(51, 57, 34) | CMYK: 11%, 0%, 40%, 78% | HSV: 76°, 40%, 22%. Copy any format from the conversion table above.
What colors go well with #333922?
The complementary color is HSL(256, 25%, 18%). For a triadic harmony, use hues 76°, 196°, and 316°. For analogous combinations, try hues 46° and 106°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(76, 25%, 18%) in CSS?
As HSL: color: hsl(76, 25%, 18%); — As HEX: color: #333922; — As RGB: color: rgb(51, 57, 34); — Tailwind CSS: bg-[hsl(76,25%,18%)] — CSS variable: --color-primary: hsl(76, 25%, 18%);