HSL(122, 16%, 15%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(122,16%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(122, 16%, 15%) | color: hsl(122, 16%, 15%) | |
| HEX | #202C21 | color: #202C21 | |
| RGB | rgb(32, 44, 33) | color: rgb(32, 44, 33) | |
| CMYK | cmyk(27%, 0%, 25%, 83%) | — | |
| HSV | hsv(125, 27%, 17%) | — | |
| HWB | hwb(125 12% 83%) | color: hwb(125 12% 83%) | |
| OKLCH | oklch(0.2781 0.0259 147.03) | color: oklch(0.2781 0.0259 147.03) | |
| Lab | lab(16.59 -7.94 5.5) | color: lab(16.59 -7.94 5.5) | |
| LCH | lch(16.59 9.66 145.29) | color: lch(16.59 9.66 145.29) |
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)
#252524 — rgb(37, 37, 36)
Deuteranopia (Green-blind)
#252424 — rgb(37, 36, 36)
Tritanopia (Blue-blind)
#212626 — rgb(33, 38, 38)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(122, 16%, 15%);
text
color: hsl(122, 16%, 15%);
border
border: 2px solid hsl(122, 16%, 15%);
gradient light
background: linear-gradient(to right, hsl(122, 16%, 35%), hsl(122, 16%, 15%));
gradient dark
background: linear-gradient(to right, hsl(122, 16%, 15%), hsl(122, 16%, 0%))
hex
background-color: #202C21;
tailwind
bg-[hsl(122,16%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(122, 16%, 15%, 0.4);
css variable
--color-primary: hsl(122, 16%, 15%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(122, 16%, 15%)?
HEX: #202C21 | RGB: rgb(32, 44, 33) | CMYK: 27%, 0%, 25%, 83% | HSV: 125°, 27%, 17%. Copy any format from the conversion table above.
What colors go well with #202C21?
The complementary color is HSL(302, 16%, 15%). 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, 16%, 15%) in CSS?
As HSL: color: hsl(122, 16%, 15%); — As HEX: color: #202C21; — As RGB: color: rgb(32, 44, 33); — Tailwind CSS: bg-[hsl(122,16%,15%)] — CSS variable: --color-primary: hsl(122, 16%, 15%);