HSL(98, 80%, 19%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(98,80%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(98, 80%, 19%) | color: hsl(98, 80%, 19%) | |
| HEX | #26570A | color: #26570A | |
| RGB | rgb(38, 87, 10) | color: rgb(38, 87, 10) | |
| CMYK | cmyk(56%, 0%, 89%, 66%) | — | |
| HSV | hsv(98, 89%, 34%) | — | |
| HWB | hwb(98 4% 66%) | color: hwb(98 4% 66%) | |
| OKLCH | oklch(0.4068 0.1166 137.3) | color: oklch(0.4068 0.1166 137.3) | |
| Lab | lab(32.37 -30.85 35.86) | color: lab(32.37 -30.85 35.86) | |
| LCH | lch(32.37 47.3 130.71) | color: lch(32.37 47.3 130.71) |
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)
#3B3C1D — rgb(59, 60, 29)
Deuteranopia (Green-blind)
#383521 — rgb(56, 53, 33)
Tritanopia (Blue-blind)
#282B2F — rgb(40, 43, 47)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(98, 80%, 19%);
text
color: hsl(98, 80%, 19%);
border
border: 2px solid hsl(98, 80%, 19%);
gradient light
background: linear-gradient(to right, hsl(98, 80%, 39%), hsl(98, 80%, 19%));
gradient dark
background: linear-gradient(to right, hsl(98, 80%, 19%), hsl(98, 80%, 0%))
hex
background-color: #26570A;
tailwind
bg-[hsl(98,80%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(98, 80%, 19%, 0.4);
css variable
--color-primary: hsl(98, 80%, 19%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(98, 80%, 19%)?
HEX: #26570A | RGB: rgb(38, 87, 10) | CMYK: 56%, 0%, 89%, 66% | HSV: 98°, 89%, 34%. Copy any format from the conversion table above.
What colors go well with #26570A?
The complementary color is HSL(278, 80%, 19%). 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, 80%, 19%) in CSS?
As HSL: color: hsl(98, 80%, 19%); — As HEX: color: #26570A; — As RGB: color: rgb(38, 87, 10); — Tailwind CSS: bg-[hsl(98,80%,19%)] — CSS variable: --color-primary: hsl(98, 80%, 19%);