HSL(98, 50%, 17%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(98,50%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(98, 50%, 17%) | color: hsl(98, 50%, 17%) | |
| HEX | #264116 | color: #264116 | |
| RGB | rgb(38, 65, 22) | color: rgb(38, 65, 22) | |
| CMYK | cmyk(42%, 0%, 66%, 75%) | — | |
| HSV | hsv(98, 66%, 25%) | — | |
| HWB | hwb(98 9% 75%) | color: hwb(98 9% 75%) | |
| OKLCH | oklch(0.3424 0.0756 135.45) | color: oklch(0.3424 0.0756 135.45) | |
| Lab | lab(24.48 -19.44 22.61) | color: lab(24.48 -19.44 22.61) | |
| LCH | lch(24.48 29.82 130.69) | color: lch(24.48 29.82 130.69) |
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)
#323220 — rgb(50, 50, 32)
Deuteranopia (Green-blind)
#302E23 — rgb(48, 46, 35)
Tritanopia (Blue-blind)
#27292A — rgb(39, 41, 42)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(98, 50%, 17%);
text
color: hsl(98, 50%, 17%);
border
border: 2px solid hsl(98, 50%, 17%);
gradient light
background: linear-gradient(to right, hsl(98, 50%, 37%), hsl(98, 50%, 17%));
gradient dark
background: linear-gradient(to right, hsl(98, 50%, 17%), hsl(98, 50%, 0%))
hex
background-color: #264116;
tailwind
bg-[hsl(98,50%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(98, 50%, 17%, 0.4);
css variable
--color-primary: hsl(98, 50%, 17%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(98, 50%, 17%)?
HEX: #264116 | RGB: rgb(38, 65, 22) | CMYK: 42%, 0%, 66%, 75% | HSV: 98°, 66%, 25%. Copy any format from the conversion table above.
What colors go well with #264116?
The complementary color is HSL(278, 50%, 17%). 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, 50%, 17%) in CSS?
As HSL: color: hsl(98, 50%, 17%); — As HEX: color: #264116; — As RGB: color: rgb(38, 65, 22); — Tailwind CSS: bg-[hsl(98,50%,17%)] — CSS variable: --color-primary: hsl(98, 50%, 17%);