HSL(140, 20%, 17%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(140,20%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(140, 20%, 17%) | color: hsl(140, 20%, 17%) | |
| HEX | #233428 | color: #233428 | |
| RGB | rgb(35, 52, 40) | color: rgb(35, 52, 40) | |
| CMYK | cmyk(33%, 0%, 23%, 80%) | — | |
| HSV | hsv(138, 33%, 20%) | — | |
| HWB | hwb(138 13% 80%) | color: hwb(138 13% 80%) | |
| OKLCH | oklch(0.3059 0.0311 153.53) | color: oklch(0.3059 0.0311 153.53) | |
| Lab | lab(19.91 -10.07 5.39) | color: lab(19.91 -10.07 5.39) | |
| LCH | lch(19.91 11.42 151.84) | color: lch(19.91 11.42 151.84) |
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)
#2A2B2B — rgb(42, 43, 43)
Deuteranopia (Green-blind)
#29282C — rgb(41, 40, 44)
Tritanopia (Blue-blind)
#242D2E — rgb(36, 45, 46)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(140, 20%, 17%);
text
color: hsl(140, 20%, 17%);
border
border: 2px solid hsl(140, 20%, 17%);
gradient light
background: linear-gradient(to right, hsl(140, 20%, 37%), hsl(140, 20%, 17%));
gradient dark
background: linear-gradient(to right, hsl(140, 20%, 17%), hsl(140, 20%, 0%))
hex
background-color: #233428;
tailwind
bg-[hsl(140,20%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(140, 20%, 17%, 0.4);
css variable
--color-primary: hsl(140, 20%, 17%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(140, 20%, 17%)?
HEX: #233428 | RGB: rgb(35, 52, 40) | CMYK: 33%, 0%, 23%, 80% | HSV: 138°, 33%, 20%. Copy any format from the conversion table above.
What colors go well with #233428?
The complementary color is HSL(320, 20%, 17%). For a triadic harmony, use hues 140°, 260°, and 20°. For analogous combinations, try hues 110° and 170°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(140, 20%, 17%) in CSS?
As HSL: color: hsl(140, 20%, 17%); — As HEX: color: #233428; — As RGB: color: rgb(35, 52, 40); — Tailwind CSS: bg-[hsl(140,20%,17%)] — CSS variable: --color-primary: hsl(140, 20%, 17%);