HSL(102, 16%, 20%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(102,16%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(102, 16%, 20%) | color: hsl(102, 16%, 20%) | |
| HEX | #303B2B | color: #303B2B | |
| RGB | rgb(48, 59, 43) | color: rgb(48, 59, 43) | |
| CMYK | cmyk(19%, 0%, 27%, 77%) | — | |
| HSV | hsv(101, 27%, 23%) | — | |
| HWB | hwb(101 17% 77%) | color: hwb(101 17% 77%) | |
| OKLCH | oklch(0.3371 0.031 135.99) | color: oklch(0.3371 0.031 135.99) | |
| Lab | lab(23.44 -8.24 8.45) | color: lab(23.44 -8.24 8.45) | |
| LCH | lch(23.44 11.8 134.28) | color: lch(23.44 11.8 134.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)
#35352F — rgb(53, 53, 47)
Deuteranopia (Green-blind)
#343330 — rgb(52, 51, 48)
Tritanopia (Blue-blind)
#313233 — rgb(49, 50, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(102, 16%, 20%);
text
color: hsl(102, 16%, 20%);
border
border: 2px solid hsl(102, 16%, 20%);
gradient light
background: linear-gradient(to right, hsl(102, 16%, 40%), hsl(102, 16%, 20%));
gradient dark
background: linear-gradient(to right, hsl(102, 16%, 20%), hsl(102, 16%, 0%))
hex
background-color: #303B2B;
tailwind
bg-[hsl(102,16%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(102, 16%, 20%, 0.4);
css variable
--color-primary: hsl(102, 16%, 20%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(102, 16%, 20%)?
HEX: #303B2B | RGB: rgb(48, 59, 43) | CMYK: 19%, 0%, 27%, 77% | HSV: 101°, 27%, 23%. Copy any format from the conversion table above.
What colors go well with #303B2B?
The complementary color is HSL(282, 16%, 20%). For a triadic harmony, use hues 102°, 222°, and 342°. For analogous combinations, try hues 72° and 132°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(102, 16%, 20%) in CSS?
As HSL: color: hsl(102, 16%, 20%); — As HEX: color: #303B2B; — As RGB: color: rgb(48, 59, 43); — Tailwind CSS: bg-[hsl(102,16%,20%)] — CSS variable: --color-primary: hsl(102, 16%, 20%);