HSL(122, 30%, 19%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(122,30%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(122, 30%, 19%) | color: hsl(122, 30%, 19%) | |
| HEX | #223F23 | color: #223F23 | |
| RGB | rgb(34, 63, 35) | color: rgb(34, 63, 35) | |
| CMYK | cmyk(46%, 0%, 44%, 75%) | — | |
| HSV | hsv(122, 46%, 25%) | — | |
| HWB | hwb(122 14% 75%) | color: hwb(122 14% 75%) | |
| OKLCH | oklch(0.3363 0.0596 144.85) | color: oklch(0.3363 0.0596 144.85) | |
| Lab | lab(23.73 -17.91 13.85) | color: lab(23.73 -17.91 13.85) | |
| LCH | lch(23.73 22.64 142.28) | color: lch(23.73 22.64 142.28) |
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)
#2F2F2A — rgb(47, 47, 42)
Deuteranopia (Green-blind)
#2D2B2B — rgb(45, 43, 43)
Tritanopia (Blue-blind)
#232F30 — rgb(35, 47, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(122, 30%, 19%);
text
color: hsl(122, 30%, 19%);
border
border: 2px solid hsl(122, 30%, 19%);
gradient light
background: linear-gradient(to right, hsl(122, 30%, 39%), hsl(122, 30%, 19%));
gradient dark
background: linear-gradient(to right, hsl(122, 30%, 19%), hsl(122, 30%, 0%))
hex
background-color: #223F23;
tailwind
bg-[hsl(122,30%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(122, 30%, 19%, 0.4);
css variable
--color-primary: hsl(122, 30%, 19%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(122, 30%, 19%)?
HEX: #223F23 | RGB: rgb(34, 63, 35) | CMYK: 46%, 0%, 44%, 75% | HSV: 122°, 46%, 25%. Copy any format from the conversion table above.
What colors go well with #223F23?
The complementary color is HSL(302, 30%, 19%). 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, 30%, 19%) in CSS?
As HSL: color: hsl(122, 30%, 19%); — As HEX: color: #223F23; — As RGB: color: rgb(34, 63, 35); — Tailwind CSS: bg-[hsl(122,30%,19%)] — CSS variable: --color-primary: hsl(122, 30%, 19%);