HSL(122, 98%, 26%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(122,98%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(122, 98%, 26%) | color: hsl(122, 98%, 26%) | |
| HEX | #018306 | color: #018306 | |
| RGB | rgb(1, 131, 6) | color: rgb(1, 131, 6) | |
| CMYK | cmyk(99%, 0%, 95%, 49%) | — | |
| HSV | hsv(122, 99%, 51%) | — | |
| HWB | hwb(122 1% 49%) | color: hwb(122 1% 49%) | |
| OKLCH | oklch(0.5288 0.178 142.75) | color: oklch(0.5288 0.178 142.75) | |
| Lab | lab(47.3 -52.27 49.56) | color: lab(47.3 -52.27 49.56) | |
| LCH | lch(47.3 72.03 136.52) | color: lch(47.3 72.03 136.52) |
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)
#393A24 — rgb(57, 58, 36)
Deuteranopia (Green-blind)
#32282C — rgb(50, 40, 44)
Tritanopia (Blue-blind)
#083C41 — rgb(8, 60, 65)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(122, 98%, 26%);
text
color: hsl(122, 98%, 26%);
border
border: 2px solid hsl(122, 98%, 26%);
gradient light
background: linear-gradient(to right, hsl(122, 98%, 46%), hsl(122, 98%, 26%));
gradient dark
background: linear-gradient(to right, hsl(122, 98%, 26%), hsl(122, 98%, 6%))
hex
background-color: #018306;
tailwind
bg-[hsl(122,98%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(122, 98%, 26%, 0.4);
css variable
--color-primary: hsl(122, 98%, 26%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(122, 98%, 26%)?
HEX: #018306 | RGB: rgb(1, 131, 6) | CMYK: 99%, 0%, 95%, 49% | HSV: 122°, 99%, 51%. Copy any format from the conversion table above.
What colors go well with #018306?
The complementary color is HSL(302, 98%, 26%). For a triadic harmony, use hues 122°, 242°, and 2°. For analogous combinations, try hues 92° and 152°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(122, 98%, 26%) in CSS?
As HSL: color: hsl(122, 98%, 26%); — As HEX: color: #018306; — As RGB: color: rgb(1, 131, 6); — Tailwind CSS: bg-[hsl(122,98%,26%)] — CSS variable: --color-primary: hsl(122, 98%, 26%);