HSL(100, 20%, 17%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(100,20%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(100, 20%, 17%) | color: hsl(100, 20%, 17%) | |
| HEX | #283423 | color: #283423 | |
| RGB | rgb(40, 52, 35) | color: rgb(40, 52, 35) | |
| CMYK | cmyk(23%, 0%, 33%, 80%) | — | |
| HSV | hsv(102, 33%, 20%) | — | |
| HWB | hwb(102 13% 80%) | color: hwb(102 13% 80%) | |
| OKLCH | oklch(0.3085 0.0337 136.66) | color: oklch(0.3085 0.0337 136.66) | |
| Lab | lab(20.16 -9.03 9.16) | color: lab(20.16 -9.03 9.16) | |
| LCH | lch(20.16 12.86 134.59) | color: lch(20.16 12.86 134.59) |
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)
#2D2D27 — rgb(45, 45, 39)
Deuteranopia (Green-blind)
#2D2C28 — rgb(45, 44, 40)
Tritanopia (Blue-blind)
#292A2B — rgb(41, 42, 43)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(100, 20%, 17%);
text
color: hsl(100, 20%, 17%);
border
border: 2px solid hsl(100, 20%, 17%);
gradient light
background: linear-gradient(to right, hsl(100, 20%, 37%), hsl(100, 20%, 17%));
gradient dark
background: linear-gradient(to right, hsl(100, 20%, 17%), hsl(100, 20%, 0%))
hex
background-color: #283423;
tailwind
bg-[hsl(100,20%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(100, 20%, 17%, 0.4);
css variable
--color-primary: hsl(100, 20%, 17%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(100, 20%, 17%)?
HEX: #283423 | RGB: rgb(40, 52, 35) | CMYK: 23%, 0%, 33%, 80% | HSV: 102°, 33%, 20%. Copy any format from the conversion table above.
What colors go well with #283423?
The complementary color is HSL(280, 20%, 17%). For a triadic harmony, use hues 100°, 220°, and 340°. For analogous combinations, try hues 70° and 130°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(100, 20%, 17%) in CSS?
As HSL: color: hsl(100, 20%, 17%); — As HEX: color: #283423; — As RGB: color: rgb(40, 52, 35); — Tailwind CSS: bg-[hsl(100,20%,17%)] — CSS variable: --color-primary: hsl(100, 20%, 17%);