HSL(123, 21%, 17%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(123,21%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(123, 21%, 17%) | color: hsl(123, 21%, 17%) | |
| HEX | #223423 | color: #223423 | |
| RGB | rgb(34, 52, 35) | color: rgb(34, 52, 35) | |
| CMYK | cmyk(35%, 0%, 33%, 80%) | — | |
| HSV | hsv(123, 35%, 20%) | — | |
| HWB | hwb(123 13% 80%) | color: hwb(123 13% 80%) | |
| OKLCH | oklch(0.3037 0.0383 145.91) | color: oklch(0.3037 0.0383 145.91) | |
| Lab | lab(19.71 -11.62 8.47) | color: lab(19.71 -11.62 8.47) | |
| LCH | lch(19.71 14.38 143.91) | color: lch(19.71 14.38 143.91) |
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)
#2A2A27 — rgb(42, 42, 39)
Deuteranopia (Green-blind)
#292728 — rgb(41, 39, 40)
Tritanopia (Blue-blind)
#232A2B — rgb(35, 42, 43)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(123, 21%, 17%);
text
color: hsl(123, 21%, 17%);
border
border: 2px solid hsl(123, 21%, 17%);
gradient light
background: linear-gradient(to right, hsl(123, 21%, 37%), hsl(123, 21%, 17%));
gradient dark
background: linear-gradient(to right, hsl(123, 21%, 17%), hsl(123, 21%, 0%))
hex
background-color: #223423;
tailwind
bg-[hsl(123,21%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(123, 21%, 17%, 0.4);
css variable
--color-primary: hsl(123, 21%, 17%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(123, 21%, 17%)?
HEX: #223423 | RGB: rgb(34, 52, 35) | CMYK: 35%, 0%, 33%, 80% | HSV: 123°, 35%, 20%. Copy any format from the conversion table above.
What colors go well with #223423?
The complementary color is HSL(303, 21%, 17%). 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, 21%, 17%) in CSS?
As HSL: color: hsl(123, 21%, 17%); — As HEX: color: #223423; — As RGB: color: rgb(34, 52, 35); — Tailwind CSS: bg-[hsl(123,21%,17%)] — CSS variable: --color-primary: hsl(123, 21%, 17%);