HSL(122, 100%, 20%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(122,100%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(122, 100%, 20%) | color: hsl(122, 100%, 20%) | |
| HEX | #006603 | color: #006603 | |
| RGB | rgb(0, 102, 3) | color: rgb(0, 102, 3) | |
| CMYK | cmyk(100%, 0%, 97%, 60%) | — | |
| HSV | hsv(122, 100%, 40%) | — | |
| HWB | hwb(122 0% 60%) | color: hwb(122 0% 60%) | |
| OKLCH | oklch(0.4423 0.1492 142.75) | color: oklch(0.4423 0.1492 142.75) | |
| Lab | lab(36.95 -43.82 41.59) | color: lab(36.95 -43.82 41.59) | |
| LCH | lch(36.95 60.41 136.5) | color: lch(36.95 60.41 136.5) |
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)
#2C2D1B — rgb(44, 45, 27)
Deuteranopia (Green-blind)
#261F21 — rgb(38, 31, 33)
Tritanopia (Blue-blind)
#052E32 — rgb(5, 46, 50)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(122, 100%, 20%);
text
color: hsl(122, 100%, 20%);
border
border: 2px solid hsl(122, 100%, 20%);
gradient light
background: linear-gradient(to right, hsl(122, 100%, 40%), hsl(122, 100%, 20%));
gradient dark
background: linear-gradient(to right, hsl(122, 100%, 20%), hsl(122, 100%, 0%))
hex
background-color: #006603;
tailwind
bg-[hsl(122,100%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(122, 100%, 20%, 0.4);
css variable
--color-primary: hsl(122, 100%, 20%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(122, 100%, 20%)?
HEX: #006603 | RGB: rgb(0, 102, 3) | CMYK: 100%, 0%, 97%, 60% | HSV: 122°, 100%, 40%. Copy any format from the conversion table above.
What colors go well with #006603?
The complementary color is HSL(302, 100%, 20%). 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, 100%, 20%) in CSS?
As HSL: color: hsl(122, 100%, 20%); — As HEX: color: #006603; — As RGB: color: rgb(0, 102, 3); — Tailwind CSS: bg-[hsl(122,100%,20%)] — CSS variable: --color-primary: hsl(122, 100%, 20%);