HSL(122, 28%, 23%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(122,28%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(122, 28%, 23%) | color: hsl(122, 28%, 23%) | |
| HEX | #2A4B2B | color: #2A4B2B | |
| RGB | rgb(42, 75, 43) | color: rgb(42, 75, 43) | |
| CMYK | cmyk(44%, 0%, 43%, 71%) | — | |
| HSV | hsv(122, 44%, 29%) | — | |
| HWB | hwb(122 16% 71%) | color: hwb(122 16% 71%) | |
| OKLCH | oklch(0.3779 0.0662 144.78) | color: oklch(0.3779 0.0662 144.78) | |
| Lab | lab(28.64 -19.85 15.38) | color: lab(28.64 -19.85 15.38) | |
| LCH | lch(28.64 25.11 142.23) | color: lch(28.64 25.11 142.23) |
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)
#383933 — rgb(56, 57, 51)
Deuteranopia (Green-blind)
#363435 — rgb(54, 52, 53)
Tritanopia (Blue-blind)
#2C393A — rgb(44, 57, 58)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(122, 28%, 23%);
text
color: hsl(122, 28%, 23%);
border
border: 2px solid hsl(122, 28%, 23%);
gradient light
background: linear-gradient(to right, hsl(122, 28%, 43%), hsl(122, 28%, 23%));
gradient dark
background: linear-gradient(to right, hsl(122, 28%, 23%), hsl(122, 28%, 3%))
hex
background-color: #2A4B2B;
tailwind
bg-[hsl(122,28%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(122, 28%, 23%, 0.4);
css variable
--color-primary: hsl(122, 28%, 23%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(122, 28%, 23%)?
HEX: #2A4B2B | RGB: rgb(42, 75, 43) | CMYK: 44%, 0%, 43%, 71% | HSV: 122°, 44%, 29%. Copy any format from the conversion table above.
What colors go well with #2A4B2B?
The complementary color is HSL(302, 28%, 23%). 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, 28%, 23%) in CSS?
As HSL: color: hsl(122, 28%, 23%); — As HEX: color: #2A4B2B; — As RGB: color: rgb(42, 75, 43); — Tailwind CSS: bg-[hsl(122,28%,23%)] — CSS variable: --color-primary: hsl(122, 28%, 23%);