HSL(98, 73%, 22%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(98,73%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(98, 73%, 22%) | color: hsl(98, 73%, 22%) | |
| HEX | #2D610F | color: #2D610F | |
| RGB | rgb(45, 97, 15) | color: rgb(45, 97, 15) | |
| CMYK | cmyk(54%, 0%, 85%, 62%) | — | |
| HSV | hsv(98, 85%, 38%) | — | |
| HWB | hwb(98 6% 62%) | color: hwb(98 6% 62%) | |
| OKLCH | oklch(0.4397 0.1234 137.04) | color: oklch(0.4397 0.1234 137.04) | |
| Lab | lab(36.26 -32.51 37.95) | color: lab(36.26 -32.51 37.95) | |
| LCH | lch(36.26 49.97 130.59) | color: lch(36.26 49.97 130.59) |
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)
#444423 — rgb(68, 68, 35)
Deuteranopia (Green-blind)
#413D28 — rgb(65, 61, 40)
Tritanopia (Blue-blind)
#303336 — rgb(48, 51, 54)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(98, 73%, 22%);
text
color: hsl(98, 73%, 22%);
border
border: 2px solid hsl(98, 73%, 22%);
gradient light
background: linear-gradient(to right, hsl(98, 73%, 42%), hsl(98, 73%, 22%));
gradient dark
background: linear-gradient(to right, hsl(98, 73%, 22%), hsl(98, 73%, 2%))
hex
background-color: #2D610F;
tailwind
bg-[hsl(98,73%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(98, 73%, 22%, 0.4);
css variable
--color-primary: hsl(98, 73%, 22%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(98, 73%, 22%)?
HEX: #2D610F | RGB: rgb(45, 97, 15) | CMYK: 54%, 0%, 85%, 62% | HSV: 98°, 85%, 38%. Copy any format from the conversion table above.
What colors go well with #2D610F?
The complementary color is HSL(278, 73%, 22%). 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, 73%, 22%) in CSS?
As HSL: color: hsl(98, 73%, 22%); — As HEX: color: #2D610F; — As RGB: color: rgb(45, 97, 15); — Tailwind CSS: bg-[hsl(98,73%,22%)] — CSS variable: --color-primary: hsl(98, 73%, 22%);