HSL(108, 20%, 17%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(108,20%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(108, 20%, 17%) | color: hsl(108, 20%, 17%) | |
| HEX | #263423 | color: #263423 | |
| RGB | rgb(38, 52, 35) | color: rgb(38, 52, 35) | |
| CMYK | cmyk(27%, 0%, 33%, 80%) | — | |
| HSV | hsv(109, 33%, 20%) | — | |
| HWB | hwb(109 13% 80%) | color: hwb(109 13% 80%) | |
| OKLCH | oklch(0.3068 0.0352 140.1) | color: oklch(0.3068 0.0352 140.1) | |
| Lab | lab(20 -9.92 8.92) | color: lab(20 -9.92 8.92) | |
| LCH | lch(20 13.34 138.04) | color: lch(20 13.34 138.04) |
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)
#2C2C27 — rgb(44, 44, 39)
Deuteranopia (Green-blind)
#2B2A28 — rgb(43, 42, 40)
Tritanopia (Blue-blind)
#272A2B — rgb(39, 42, 43)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(108, 20%, 17%);
text
color: hsl(108, 20%, 17%);
border
border: 2px solid hsl(108, 20%, 17%);
gradient light
background: linear-gradient(to right, hsl(108, 20%, 37%), hsl(108, 20%, 17%));
gradient dark
background: linear-gradient(to right, hsl(108, 20%, 17%), hsl(108, 20%, 0%))
hex
background-color: #263423;
tailwind
bg-[hsl(108,20%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(108, 20%, 17%, 0.4);
css variable
--color-primary: hsl(108, 20%, 17%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(108, 20%, 17%)?
HEX: #263423 | RGB: rgb(38, 52, 35) | CMYK: 27%, 0%, 33%, 80% | HSV: 109°, 33%, 20%. Copy any format from the conversion table above.
What colors go well with #263423?
The complementary color is HSL(288, 20%, 17%). For a triadic harmony, use hues 108°, 228°, and 348°. For analogous combinations, try hues 78° and 138°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(108, 20%, 17%) in CSS?
As HSL: color: hsl(108, 20%, 17%); — As HEX: color: #263423; — As RGB: color: rgb(38, 52, 35); — Tailwind CSS: bg-[hsl(108,20%,17%)] — CSS variable: --color-primary: hsl(108, 20%, 17%);