HSL(92, 16%, 16%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(92,16%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(92, 16%, 16%) | color: hsl(92, 16%, 16%) | |
| HEX | #282F22 | color: #282F22 | |
| RGB | rgb(40, 47, 34) | color: rgb(40, 47, 34) | |
| CMYK | cmyk(15%, 0%, 28%, 82%) | — | |
| HSV | hsv(92, 28%, 18%) | — | |
| HWB | hwb(92 13% 82%) | color: hwb(92 13% 82%) | |
| OKLCH | oklch(0.2941 0.0248 130.86) | color: oklch(0.2941 0.0248 130.86) | |
| Lab | lab(18.36 -6.05 7.37) | color: lab(18.36 -6.05 7.37) | |
| LCH | lch(18.36 9.54 129.38) | color: lch(18.36 9.54 129.38) |
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)
#2B2B25 — rgb(43, 43, 37)
Deuteranopia (Green-blind)
#2B2A26 — rgb(43, 42, 38)
Tritanopia (Blue-blind)
#282828 — rgb(40, 40, 40)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(92, 16%, 16%);
text
color: hsl(92, 16%, 16%);
border
border: 2px solid hsl(92, 16%, 16%);
gradient light
background: linear-gradient(to right, hsl(92, 16%, 36%), hsl(92, 16%, 16%));
gradient dark
background: linear-gradient(to right, hsl(92, 16%, 16%), hsl(92, 16%, 0%))
hex
background-color: #282F22;
tailwind
bg-[hsl(92,16%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(92, 16%, 16%, 0.4);
css variable
--color-primary: hsl(92, 16%, 16%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(92, 16%, 16%)?
HEX: #282F22 | RGB: rgb(40, 47, 34) | CMYK: 15%, 0%, 28%, 82% | HSV: 92°, 28%, 18%. Copy any format from the conversion table above.
What colors go well with #282F22?
The complementary color is HSL(272, 16%, 16%). For a triadic harmony, use hues 92°, 212°, and 332°. For analogous combinations, try hues 62° and 122°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(92, 16%, 16%) in CSS?
As HSL: color: hsl(92, 16%, 16%); — As HEX: color: #282F22; — As RGB: color: rgb(40, 47, 34); — Tailwind CSS: bg-[hsl(92,16%,16%)] — CSS variable: --color-primary: hsl(92, 16%, 16%);