HSL(97, 75%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(97,75%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(97, 75%, 18%) | color: hsl(97, 75%, 18%) | |
| HEX | #26500B | color: #26500B | |
| RGB | rgb(38, 80, 11) | color: rgb(38, 80, 11) | |
| CMYK | cmyk(53%, 0%, 86%, 69%) | — | |
| HSV | hsv(97, 86%, 31%) | — | |
| HWB | hwb(97 4% 69%) | color: hwb(97 4% 69%) | |
| OKLCH | oklch(0.386 0.1067 136.36) | color: oklch(0.386 0.1067 136.36) | |
| Lab | lab(29.85 -27.72 33.2) | color: lab(29.85 -27.72 33.2) | |
| LCH | lch(29.85 43.25 129.86) | color: lch(29.85 43.25 129.86) |
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)
#38391C — rgb(56, 57, 28)
Deuteranopia (Green-blind)
#363320 — rgb(54, 51, 32)
Tritanopia (Blue-blind)
#28292C — rgb(40, 41, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(97, 75%, 18%);
text
color: hsl(97, 75%, 18%);
border
border: 2px solid hsl(97, 75%, 18%);
gradient light
background: linear-gradient(to right, hsl(97, 75%, 38%), hsl(97, 75%, 18%));
gradient dark
background: linear-gradient(to right, hsl(97, 75%, 18%), hsl(97, 75%, 0%))
hex
background-color: #26500B;
tailwind
bg-[hsl(97,75%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(97, 75%, 18%, 0.4);
css variable
--color-primary: hsl(97, 75%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(97, 75%, 18%)?
HEX: #26500B | RGB: rgb(38, 80, 11) | CMYK: 53%, 0%, 86%, 69% | HSV: 97°, 86%, 31%. Copy any format from the conversion table above.
What colors go well with #26500B?
The complementary color is HSL(277, 75%, 18%). For a triadic harmony, use hues 97°, 217°, and 337°. For analogous combinations, try hues 67° and 127°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(97, 75%, 18%) in CSS?
As HSL: color: hsl(97, 75%, 18%); — As HEX: color: #26500B; — As RGB: color: rgb(38, 80, 11); — Tailwind CSS: bg-[hsl(97,75%,18%)] — CSS variable: --color-primary: hsl(97, 75%, 18%);