HSL(123, 12%, 16%)
Grayish Green — Green color
Adjust Color
Color Information
Color Name
Grayish Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(123,12%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(123, 12%, 16%) | color: hsl(123, 12%, 16%) | |
| HEX | #242E24 | color: #242E24 | |
| RGB | rgb(36, 46, 36) | color: rgb(36, 46, 36) | |
| CMYK | cmyk(22%, 0%, 22%, 82%) | — | |
| HSV | hsv(120, 22%, 18%) | — | |
| HWB | hwb(120 14% 82%) | color: hwb(120 14% 82%) | |
| OKLCH | oklch(0.2882 0.0227 144.96) | color: oklch(0.2882 0.0227 144.96) | |
| Lab | lab(17.72 -6.78 5.05) | color: lab(17.72 -6.78 5.05) | |
| LCH | lch(17.72 8.45 143.32) | color: lch(17.72 8.45 143.32) |
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)
#282826 — rgb(40, 40, 38)
Deuteranopia (Green-blind)
#282727 — rgb(40, 39, 39)
Tritanopia (Blue-blind)
#252829 — rgb(37, 40, 41)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(123, 12%, 16%);
text
color: hsl(123, 12%, 16%);
border
border: 2px solid hsl(123, 12%, 16%);
gradient light
background: linear-gradient(to right, hsl(123, 12%, 36%), hsl(123, 12%, 16%));
gradient dark
background: linear-gradient(to right, hsl(123, 12%, 16%), hsl(123, 12%, 0%))
hex
background-color: #242E24;
tailwind
bg-[hsl(123,12%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(123, 12%, 16%, 0.4);
css variable
--color-primary: hsl(123, 12%, 16%);
Related Colors
Use Cases for Grayish Green
Frequently Asked Questions
What are all the color codes for HSL(123, 12%, 16%)?
HEX: #242E24 | RGB: rgb(36, 46, 36) | CMYK: 22%, 0%, 22%, 82% | HSV: 120°, 22%, 18%. Copy any format from the conversion table above.
What colors go well with #242E24?
The complementary color is HSL(303, 12%, 16%). For a triadic harmony, use hues 123°, 243°, and 3°. For analogous combinations, try hues 93° and 153°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(123, 12%, 16%) in CSS?
As HSL: color: hsl(123, 12%, 16%); — As HEX: color: #242E24; — As RGB: color: rgb(36, 46, 36); — Tailwind CSS: bg-[hsl(123,12%,16%)] — CSS variable: --color-primary: hsl(123, 12%, 16%);