HSL(122, 63%, 28%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(122,63%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(122, 63%, 28%) | color: hsl(122, 63%, 28%) | |
| HEX | #1A741D | color: #1A741D | |
| RGB | rgb(26, 116, 29) | color: rgb(26, 116, 29) | |
| CMYK | cmyk(78%, 0%, 75%, 55%) | — | |
| HSV | hsv(122, 78%, 45%) | — | |
| HWB | hwb(122 10% 55%) | color: hwb(122 10% 55%) | |
| OKLCH | oklch(0.4897 0.147 143.3) | color: oklch(0.4897 0.147 143.3) | |
| Lab | lab(42.46 -43.47 38.63) | color: lab(42.46 -43.47 38.63) | |
| LCH | lch(42.46 58.15 138.37) | color: lch(42.46 58.15 138.37) |
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)
#414232 — rgb(65, 66, 50)
Deuteranopia (Green-blind)
#3C3537 — rgb(60, 53, 55)
Tritanopia (Blue-blind)
#1F4346 — rgb(31, 67, 70)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(122, 63%, 28%);
text
color: hsl(122, 63%, 28%);
border
border: 2px solid hsl(122, 63%, 28%);
gradient light
background: linear-gradient(to right, hsl(122, 63%, 48%), hsl(122, 63%, 28%));
gradient dark
background: linear-gradient(to right, hsl(122, 63%, 28%), hsl(122, 63%, 8%))
hex
background-color: #1A741D;
tailwind
bg-[hsl(122,63%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(122, 63%, 28%, 0.4);
css variable
--color-primary: hsl(122, 63%, 28%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(122, 63%, 28%)?
HEX: #1A741D | RGB: rgb(26, 116, 29) | CMYK: 78%, 0%, 75%, 55% | HSV: 122°, 78%, 45%. Copy any format from the conversion table above.
What colors go well with #1A741D?
The complementary color is HSL(302, 63%, 28%). 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, 63%, 28%) in CSS?
As HSL: color: hsl(122, 63%, 28%); — As HEX: color: #1A741D; — As RGB: color: rgb(26, 116, 29); — Tailwind CSS: bg-[hsl(122,63%,28%)] — CSS variable: --color-primary: hsl(122, 63%, 28%);