HSL(123, 11%, 15%)
Grayish Green — Green color
Adjust Color
Color Information
Color Name
Grayish Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(123,11%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(123, 11%, 15%) | color: hsl(123, 11%, 15%) | |
| HEX | #222A22 | color: #222A22 | |
| RGB | rgb(34, 42, 34) | color: rgb(34, 42, 34) | |
| CMYK | cmyk(19%, 0%, 19%, 84%) | — | |
| HSV | hsv(120, 19%, 16%) | — | |
| HWB | hwb(120 13% 84%) | color: hwb(120 13% 84%) | |
| OKLCH | oklch(0.2744 0.0184 145.05) | color: oklch(0.2744 0.0184 145.05) | |
| Lab | lab(16.06 -5.51 4.08) | color: lab(16.06 -5.51 4.08) | |
| LCH | lch(16.06 6.86 143.48) | color: lch(16.06 6.86 143.48) |
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)
#252624 — rgb(37, 38, 36)
Deuteranopia (Green-blind)
#252424 — rgb(37, 36, 36)
Tritanopia (Blue-blind)
#222526 — rgb(34, 37, 38)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(123, 11%, 15%);
text
color: hsl(123, 11%, 15%);
border
border: 2px solid hsl(123, 11%, 15%);
gradient light
background: linear-gradient(to right, hsl(123, 11%, 35%), hsl(123, 11%, 15%));
gradient dark
background: linear-gradient(to right, hsl(123, 11%, 15%), hsl(123, 11%, 0%))
hex
background-color: #222A22;
tailwind
bg-[hsl(123,11%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(123, 11%, 15%, 0.4);
css variable
--color-primary: hsl(123, 11%, 15%);
Related Colors
Use Cases for Grayish Green
Frequently Asked Questions
What are all the color codes for HSL(123, 11%, 15%)?
HEX: #222A22 | RGB: rgb(34, 42, 34) | CMYK: 19%, 0%, 19%, 84% | HSV: 120°, 19%, 16%. Copy any format from the conversion table above.
What colors go well with #222A22?
The complementary color is HSL(303, 11%, 15%). For a triadic harmony, use hues 123°, 243°, and 3°. For analogous combinations, try hues 93° and 153°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(123, 11%, 15%) in CSS?
As HSL: color: hsl(123, 11%, 15%); — As HEX: color: #222A22; — As RGB: color: rgb(34, 42, 34); — Tailwind CSS: bg-[hsl(123,11%,15%)] — CSS variable: --color-primary: hsl(123, 11%, 15%);