HSL(123, 11%, 21%)
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,11%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(123, 11%, 21%) | color: hsl(123, 11%, 21%) | |
| HEX | #303B30 | color: #303B30 | |
| RGB | rgb(48, 59, 48) | color: rgb(48, 59, 48) | |
| CMYK | cmyk(19%, 0%, 19%, 77%) | — | |
| HSV | hsv(120, 19%, 23%) | — | |
| HWB | hwb(120 19% 77%) | color: hwb(120 19% 77%) | |
| OKLCH | oklch(0.3385 0.024 145.02) | color: oklch(0.3385 0.024 145.02) | |
| Lab | lab(23.57 -7.18 5.32) | color: lab(23.57 -7.18 5.32) | |
| LCH | lch(23.57 8.94 143.46) | color: lch(23.57 8.94 143.46) |
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)
#353533 — rgb(53, 53, 51)
Deuteranopia (Green-blind)
#343333 — rgb(52, 51, 51)
Tritanopia (Blue-blind)
#313535 — rgb(49, 53, 53)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(123, 11%, 21%);
text
color: hsl(123, 11%, 21%);
border
border: 2px solid hsl(123, 11%, 21%);
gradient light
background: linear-gradient(to right, hsl(123, 11%, 41%), hsl(123, 11%, 21%));
gradient dark
background: linear-gradient(to right, hsl(123, 11%, 21%), hsl(123, 11%, 1%))
hex
background-color: #303B30;
tailwind
bg-[hsl(123,11%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(123, 11%, 21%, 0.4);
css variable
--color-primary: hsl(123, 11%, 21%);
Related Colors
Use Cases for Grayish Green
Frequently Asked Questions
What are all the color codes for HSL(123, 11%, 21%)?
HEX: #303B30 | RGB: rgb(48, 59, 48) | CMYK: 19%, 0%, 19%, 77% | HSV: 120°, 19%, 23%. Copy any format from the conversion table above.
What colors go well with #303B30?
The complementary color is HSL(303, 11%, 21%). 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, 11%, 21%) in CSS?
As HSL: color: hsl(123, 11%, 21%); — As HEX: color: #303B30; — As RGB: color: rgb(48, 59, 48); — Tailwind CSS: bg-[hsl(123,11%,21%)] — CSS variable: --color-primary: hsl(123, 11%, 21%);