HSL(98, 65%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(98,65%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(98, 65%, 18%) | color: hsl(98, 65%, 18%) | |
| HEX | #264C10 | color: #264C10 | |
| RGB | rgb(38, 76, 16) | color: rgb(38, 76, 16) | |
| CMYK | cmyk(50%, 0%, 79%, 70%) | — | |
| HSV | hsv(98, 79%, 30%) | — | |
| HWB | hwb(98 6% 70%) | color: hwb(98 6% 70%) | |
| OKLCH | oklch(0.3745 0.0979 136.43) | color: oklch(0.3745 0.0979 136.43) | |
| Lab | lab(28.43 -25.52 29.84) | color: lab(28.43 -25.52 29.84) | |
| LCH | lch(28.43 39.26 130.54) | color: lch(28.43 39.26 130.54) |
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)
#36371F — rgb(54, 55, 31)
Deuteranopia (Green-blind)
#343122 — rgb(52, 49, 34)
Tritanopia (Blue-blind)
#282A2D — rgb(40, 42, 45)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(98, 65%, 18%);
text
color: hsl(98, 65%, 18%);
border
border: 2px solid hsl(98, 65%, 18%);
gradient light
background: linear-gradient(to right, hsl(98, 65%, 38%), hsl(98, 65%, 18%));
gradient dark
background: linear-gradient(to right, hsl(98, 65%, 18%), hsl(98, 65%, 0%))
hex
background-color: #264C10;
tailwind
bg-[hsl(98,65%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(98, 65%, 18%, 0.4);
css variable
--color-primary: hsl(98, 65%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(98, 65%, 18%)?
HEX: #264C10 | RGB: rgb(38, 76, 16) | CMYK: 50%, 0%, 79%, 70% | HSV: 98°, 79%, 30%. Copy any format from the conversion table above.
What colors go well with #264C10?
The complementary color is HSL(278, 65%, 18%). For a triadic harmony, use hues 98°, 218°, and 338°. For analogous combinations, try hues 68° and 128°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(98, 65%, 18%) in CSS?
As HSL: color: hsl(98, 65%, 18%); — As HEX: color: #264C10; — As RGB: color: rgb(38, 76, 16); — Tailwind CSS: bg-[hsl(98,65%,18%)] — CSS variable: --color-primary: hsl(98, 65%, 18%);