HSL(142, 10%, 28%)
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(142,10%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(142, 10%, 28%) | color: hsl(142, 10%, 28%) | |
| HEX | #404F45 | color: #404F45 | |
| RGB | rgb(64, 79, 69) | color: rgb(64, 79, 69) | |
| CMYK | cmyk(19%, 0%, 13%, 69%) | — | |
| HSV | hsv(140, 19%, 31%) | — | |
| HWB | hwb(140 25% 69%) | color: hwb(140 25% 69%) | |
| OKLCH | oklch(0.4113 0.0252 155.95) | color: oklch(0.4113 0.0252 155.95) | |
| Lab | lab(32.06 -8.24 3.96) | color: lab(32.06 -8.24 3.96) | |
| LCH | lch(32.06 9.14 154.33) | color: lch(32.06 9.14 154.33) |
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)
#464747 — rgb(70, 71, 71)
Deuteranopia (Green-blind)
#464548 — rgb(70, 69, 72)
Tritanopia (Blue-blind)
#41494A — rgb(65, 73, 74)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(142, 10%, 28%);
text
color: hsl(142, 10%, 28%);
border
border: 2px solid hsl(142, 10%, 28%);
gradient light
background: linear-gradient(to right, hsl(142, 10%, 48%), hsl(142, 10%, 28%));
gradient dark
background: linear-gradient(to right, hsl(142, 10%, 28%), hsl(142, 10%, 8%))
hex
background-color: #404F45;
tailwind
bg-[hsl(142,10%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(142, 10%, 28%, 0.4);
css variable
--color-primary: hsl(142, 10%, 28%);
Related Colors
Use Cases for Grayish Green
Frequently Asked Questions
What are all the color codes for HSL(142, 10%, 28%)?
HEX: #404F45 | RGB: rgb(64, 79, 69) | CMYK: 19%, 0%, 13%, 69% | HSV: 140°, 19%, 31%. Copy any format from the conversion table above.
What colors go well with #404F45?
The complementary color is HSL(322, 10%, 28%). For a triadic harmony, use hues 142°, 262°, and 22°. For analogous combinations, try hues 112° and 172°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(142, 10%, 28%) in CSS?
As HSL: color: hsl(142, 10%, 28%); — As HEX: color: #404F45; — As RGB: color: rgb(64, 79, 69); — Tailwind CSS: bg-[hsl(142,10%,28%)] — CSS variable: --color-primary: hsl(142, 10%, 28%);