HSL(96, 85%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(96,85%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(96, 85%, 18%) | color: hsl(96, 85%, 18%) | |
| HEX | #265507 | color: #265507 | |
| RGB | rgb(38, 85, 7) | color: rgb(38, 85, 7) | |
| CMYK | cmyk(55%, 0%, 92%, 67%) | — | |
| HSV | hsv(96, 92%, 33%) | — | |
| HWB | hwb(96 3% 67%) | color: hwb(96 3% 67%) | |
| OKLCH | oklch(0.4007 0.1154 136.71) | color: oklch(0.4007 0.1154 136.71) | |
| Lab | lab(31.63 -30.16 36.16) | color: lab(31.63 -30.16 36.16) | |
| LCH | lch(31.63 47.09 129.83) | color: lch(31.63 47.09 129.83) |
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)
#3A3B1A — rgb(58, 59, 26)
Deuteranopia (Green-blind)
#38341E — rgb(56, 52, 30)
Tritanopia (Blue-blind)
#28292C — rgb(40, 41, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(96, 85%, 18%);
text
color: hsl(96, 85%, 18%);
border
border: 2px solid hsl(96, 85%, 18%);
gradient light
background: linear-gradient(to right, hsl(96, 85%, 38%), hsl(96, 85%, 18%));
gradient dark
background: linear-gradient(to right, hsl(96, 85%, 18%), hsl(96, 85%, 0%))
hex
background-color: #265507;
tailwind
bg-[hsl(96,85%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(96, 85%, 18%, 0.4);
css variable
--color-primary: hsl(96, 85%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(96, 85%, 18%)?
HEX: #265507 | RGB: rgb(38, 85, 7) | CMYK: 55%, 0%, 92%, 67% | HSV: 96°, 92%, 33%. Copy any format from the conversion table above.
What colors go well with #265507?
The complementary color is HSL(276, 85%, 18%). For a triadic harmony, use hues 96°, 216°, and 336°. For analogous combinations, try hues 66° and 126°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(96, 85%, 18%) in CSS?
As HSL: color: hsl(96, 85%, 18%); — As HEX: color: #265507; — As RGB: color: rgb(38, 85, 7); — Tailwind CSS: bg-[hsl(96,85%,18%)] — CSS variable: --color-primary: hsl(96, 85%, 18%);