HSL(78, 24%, 20%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(78,24%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(78, 24%, 20%) | color: hsl(78, 24%, 20%) | |
| HEX | #383F27 | color: #383F27 | |
| RGB | rgb(56, 63, 39) | color: rgb(56, 63, 39) | |
| CMYK | cmyk(11%, 0%, 38%, 75%) | — | |
| HSV | hsv(78, 38%, 25%) | — | |
| HWB | hwb(78 16% 75%) | color: hwb(78 16% 75%) | |
| OKLCH | oklch(0.354 0.0403 121.7) | color: oklch(0.354 0.0403 121.7) | |
| Lab | lab(25.39 -7.81 13.79) | color: lab(25.39 -7.81 13.79) | |
| LCH | lch(25.39 15.85 119.53) | color: lch(25.39 15.85 119.53) |
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)
#3B3B2D — rgb(59, 59, 45)
Deuteranopia (Green-blind)
#3B3A2E — rgb(59, 58, 46)
Tritanopia (Blue-blind)
#383132 — rgb(56, 49, 50)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(78, 24%, 20%);
text
color: hsl(78, 24%, 20%);
border
border: 2px solid hsl(78, 24%, 20%);
gradient light
background: linear-gradient(to right, hsl(78, 24%, 40%), hsl(78, 24%, 20%));
gradient dark
background: linear-gradient(to right, hsl(78, 24%, 20%), hsl(78, 24%, 0%))
hex
background-color: #383F27;
tailwind
bg-[hsl(78,24%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(78, 24%, 20%, 0.4);
css variable
--color-primary: hsl(78, 24%, 20%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(78, 24%, 20%)?
HEX: #383F27 | RGB: rgb(56, 63, 39) | CMYK: 11%, 0%, 38%, 75% | HSV: 78°, 38%, 25%. Copy any format from the conversion table above.
What colors go well with #383F27?
The complementary color is HSL(258, 24%, 20%). 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, 24%, 20%) in CSS?
As HSL: color: hsl(78, 24%, 20%); — As HEX: color: #383F27; — As RGB: color: rgb(56, 63, 39); — Tailwind CSS: bg-[hsl(78,24%,20%)] — CSS variable: --color-primary: hsl(78, 24%, 20%);