HSL(122, 96%, 19%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(122,96%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(122, 96%, 19%) | color: hsl(122, 96%, 19%) | |
| HEX | #025F05 | color: #025F05 | |
| RGB | rgb(2, 95, 5) | color: rgb(2, 95, 5) | |
| CMYK | cmyk(98%, 0%, 95%, 63%) | — | |
| HSV | hsv(122, 98%, 37%) | — | |
| HWB | hwb(122 1% 63%) | color: hwb(122 1% 63%) | |
| OKLCH | oklch(0.4212 0.1405 142.82) | color: oklch(0.4212 0.1405 142.82) | |
| Lab | lab(34.41 -41.31 38.87) | color: lab(34.41 -41.31 38.87) | |
| LCH | lch(34.41 56.72 136.74) | color: lch(34.41 56.72 136.74) |
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)
#2A2B1B — rgb(42, 43, 27)
Deuteranopia (Green-blind)
#251E20 — rgb(37, 30, 32)
Tritanopia (Blue-blind)
#072C30 — rgb(7, 44, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(122, 96%, 19%);
text
color: hsl(122, 96%, 19%);
border
border: 2px solid hsl(122, 96%, 19%);
gradient light
background: linear-gradient(to right, hsl(122, 96%, 39%), hsl(122, 96%, 19%));
gradient dark
background: linear-gradient(to right, hsl(122, 96%, 19%), hsl(122, 96%, 0%))
hex
background-color: #025F05;
tailwind
bg-[hsl(122,96%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(122, 96%, 19%, 0.4);
css variable
--color-primary: hsl(122, 96%, 19%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(122, 96%, 19%)?
HEX: #025F05 | RGB: rgb(2, 95, 5) | CMYK: 98%, 0%, 95%, 63% | HSV: 122°, 98%, 37%. Copy any format from the conversion table above.
What colors go well with #025F05?
The complementary color is HSL(302, 96%, 19%). 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, 96%, 19%) in CSS?
As HSL: color: hsl(122, 96%, 19%); — As HEX: color: #025F05; — As RGB: color: rgb(2, 95, 5); — Tailwind CSS: bg-[hsl(122,96%,19%)] — CSS variable: --color-primary: hsl(122, 96%, 19%);