HSL(122, 98%, 39%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(122,98%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(122, 98%, 39%) | color: hsl(122, 98%, 39%) | |
| HEX | #02C508 | color: #02C508 | |
| RGB | rgb(2, 197, 8) | color: rgb(2, 197, 8) | |
| CMYK | cmyk(99%, 0%, 96%, 23%) | — | |
| HSV | hsv(122, 99%, 77%) | — | |
| HWB | hwb(122 1% 23%) | color: hwb(122 1% 23%) | |
| OKLCH | oklch(0.7137 0.2414 142.62) | color: oklch(0.7137 0.2414 142.62) | |
| Lab | lab(69.44 -70.72 67.63) | color: lab(69.44 -70.72 67.63) | |
| LCH | lch(69.44 97.85 136.28) | color: lch(69.44 97.85 136.28) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#565836 — rgb(86, 88, 54)
Deuteranopia (Green-blind)
#4B3D41 — rgb(75, 61, 65)
Tritanopia (Blue-blind)
#0C5A62 — rgb(12, 90, 98)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(122, 98%, 39%);
text
color: hsl(122, 98%, 39%);
border
border: 2px solid hsl(122, 98%, 39%);
gradient light
background: linear-gradient(to right, hsl(122, 98%, 59%), hsl(122, 98%, 39%));
gradient dark
background: linear-gradient(to right, hsl(122, 98%, 39%), hsl(122, 98%, 19%))
hex
background-color: #02C508;
tailwind
bg-[hsl(122,98%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(122, 98%, 39%, 0.4);
css variable
--color-primary: hsl(122, 98%, 39%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(122, 98%, 39%)?
HEX: #02C508 | RGB: rgb(2, 197, 8) | CMYK: 99%, 0%, 96%, 23% | HSV: 122°, 99%, 77%. Copy any format from the conversion table above.
What colors go well with #02C508?
The complementary color is HSL(302, 98%, 39%). 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%, 39%) in CSS?
As HSL: color: hsl(122, 98%, 39%); — As HEX: color: #02C508; — As RGB: color: rgb(2, 197, 8); — Tailwind CSS: bg-[hsl(122,98%,39%)] — CSS variable: --color-primary: hsl(122, 98%, 39%);