HSL(122, 28%, 25%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(122,28%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(122, 28%, 25%) | color: hsl(122, 28%, 25%) | |
| HEX | #2E522F | color: #2E522F | |
| RGB | rgb(46, 82, 47) | color: rgb(46, 82, 47) | |
| CMYK | cmyk(44%, 0%, 43%, 68%) | — | |
| HSV | hsv(122, 44%, 32%) | — | |
| HWB | hwb(122 18% 68%) | color: hwb(122 18% 68%) | |
| OKLCH | oklch(0.4012 0.0712 144.7) | color: oklch(0.4012 0.0712 144.7) | |
| Lab | lab(31.39 -21.33 16.59) | color: lab(31.39 -21.33 16.59) | |
| LCH | lch(31.39 27.02 142.13) | color: lch(31.39 27.02 142.13) |
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)
#3E3E37 — rgb(62, 62, 55)
Deuteranopia (Green-blind)
#3C393A — rgb(60, 57, 58)
Tritanopia (Blue-blind)
#303E40 — rgb(48, 62, 64)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(122, 28%, 25%);
text
color: hsl(122, 28%, 25%);
border
border: 2px solid hsl(122, 28%, 25%);
gradient light
background: linear-gradient(to right, hsl(122, 28%, 45%), hsl(122, 28%, 25%));
gradient dark
background: linear-gradient(to right, hsl(122, 28%, 25%), hsl(122, 28%, 5%))
hex
background-color: #2E522F;
tailwind
bg-[hsl(122,28%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(122, 28%, 25%, 0.4);
css variable
--color-primary: hsl(122, 28%, 25%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(122, 28%, 25%)?
HEX: #2E522F | RGB: rgb(46, 82, 47) | CMYK: 44%, 0%, 43%, 68% | HSV: 122°, 44%, 32%. Copy any format from the conversion table above.
What colors go well with #2E522F?
The complementary color is HSL(302, 28%, 25%). 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%, 25%) in CSS?
As HSL: color: hsl(122, 28%, 25%); — As HEX: color: #2E522F; — As RGB: color: rgb(46, 82, 47); — Tailwind CSS: bg-[hsl(122,28%,25%)] — CSS variable: --color-primary: hsl(122, 28%, 25%);