HSL(106, 38%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(106,38%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(106, 38%, 18%) | color: hsl(106, 38%, 18%) | |
| HEX | #253F1C | color: #253F1C | |
| RGB | rgb(37, 63, 28) | color: rgb(37, 63, 28) | |
| CMYK | cmyk(41%, 0%, 56%, 75%) | — | |
| HSV | hsv(105, 56%, 25%) | — | |
| HWB | hwb(105 11% 75%) | color: hwb(105 11% 75%) | |
| OKLCH | oklch(0.3367 0.0661 138.16) | color: oklch(0.3367 0.0661 138.16) | |
| Lab | lab(23.78 -17.96 18.28) | color: lab(23.78 -17.96 18.28) | |
| LCH | lch(23.78 25.63 134.49) | color: lch(23.78 25.63 134.49) |
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)
#303024 — rgb(48, 48, 36)
Deuteranopia (Green-blind)
#2F2D27 — rgb(47, 45, 39)
Tritanopia (Blue-blind)
#262B2D — rgb(38, 43, 45)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(106, 38%, 18%);
text
color: hsl(106, 38%, 18%);
border
border: 2px solid hsl(106, 38%, 18%);
gradient light
background: linear-gradient(to right, hsl(106, 38%, 38%), hsl(106, 38%, 18%));
gradient dark
background: linear-gradient(to right, hsl(106, 38%, 18%), hsl(106, 38%, 0%))
hex
background-color: #253F1C;
tailwind
bg-[hsl(106,38%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(106, 38%, 18%, 0.4);
css variable
--color-primary: hsl(106, 38%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(106, 38%, 18%)?
HEX: #253F1C | RGB: rgb(37, 63, 28) | CMYK: 41%, 0%, 56%, 75% | HSV: 105°, 56%, 25%. Copy any format from the conversion table above.
What colors go well with #253F1C?
The complementary color is HSL(286, 38%, 18%). For a triadic harmony, use hues 106°, 226°, and 346°. For analogous combinations, try hues 76° and 136°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(106, 38%, 18%) in CSS?
As HSL: color: hsl(106, 38%, 18%); — As HEX: color: #253F1C; — As RGB: color: rgb(37, 63, 28); — Tailwind CSS: bg-[hsl(106,38%,18%)] — CSS variable: --color-primary: hsl(106, 38%, 18%);