HSL(78, 33%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(78,33%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(78, 33%, 18%) | color: hsl(78, 33%, 18%) | |
| HEX | #343D1F | color: #343D1F | |
| RGB | rgb(52, 61, 31) | color: rgb(52, 61, 31) | |
| CMYK | cmyk(15%, 0%, 49%, 76%) | — | |
| HSV | hsv(78, 49%, 24%) | — | |
| HWB | hwb(78 12% 76%) | color: hwb(78 12% 76%) | |
| OKLCH | oklch(0.3433 0.0497 122.69) | color: oklch(0.3433 0.0497 122.69) | |
| Lab | lab(24.21 -9.69 17.24) | color: lab(24.21 -9.69 17.24) | |
| LCH | lch(24.21 19.78 119.34) | color: lch(24.21 19.78 119.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)
#383826 — rgb(56, 56, 38)
Deuteranopia (Green-blind)
#373728 — rgb(55, 55, 40)
Tritanopia (Blue-blind)
#342C2D — rgb(52, 44, 45)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(78, 33%, 18%);
text
color: hsl(78, 33%, 18%);
border
border: 2px solid hsl(78, 33%, 18%);
gradient light
background: linear-gradient(to right, hsl(78, 33%, 38%), hsl(78, 33%, 18%));
gradient dark
background: linear-gradient(to right, hsl(78, 33%, 18%), hsl(78, 33%, 0%))
hex
background-color: #343D1F;
tailwind
bg-[hsl(78,33%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(78, 33%, 18%, 0.4);
css variable
--color-primary: hsl(78, 33%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(78, 33%, 18%)?
HEX: #343D1F | RGB: rgb(52, 61, 31) | CMYK: 15%, 0%, 49%, 76% | HSV: 78°, 49%, 24%. Copy any format from the conversion table above.
What colors go well with #343D1F?
The complementary color is HSL(258, 33%, 18%). For a triadic harmony, use hues 78°, 198°, and 318°. For analogous combinations, try hues 48° and 108°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(78, 33%, 18%) in CSS?
As HSL: color: hsl(78, 33%, 18%); — As HEX: color: #343D1F; — As RGB: color: rgb(52, 61, 31); — Tailwind CSS: bg-[hsl(78,33%,18%)] — CSS variable: --color-primary: hsl(78, 33%, 18%);