HSL(146, 40%, 23%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(146,40%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(146, 40%, 23%) | color: hsl(146, 40%, 23%) | |
| HEX | #235238 | color: #235238 | |
| RGB | rgb(35, 82, 56) | color: rgb(35, 82, 56) | |
| CMYK | cmyk(57%, 0%, 32%, 68%) | — | |
| HSV | hsv(147, 57%, 32%) | — | |
| HWB | hwb(147 14% 68%) | color: hwb(147 14% 68%) | |
| OKLCH | oklch(0.3976 0.0683 157.01) | color: oklch(0.3976 0.0683 157.01) | |
| Lab | lab(31.06 -22.99 10.5) | color: lab(31.06 -22.99 10.5) | |
| LCH | lch(31.06 25.27 155.45) | color: lch(31.06 25.27 155.45) |
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)
#37383E — rgb(55, 56, 62)
Deuteranopia (Green-blind)
#353140 — rgb(53, 49, 64)
Tritanopia (Blue-blind)
#254344 — rgb(37, 67, 68)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(146, 40%, 23%);
text
color: hsl(146, 40%, 23%);
border
border: 2px solid hsl(146, 40%, 23%);
gradient light
background: linear-gradient(to right, hsl(146, 40%, 43%), hsl(146, 40%, 23%));
gradient dark
background: linear-gradient(to right, hsl(146, 40%, 23%), hsl(146, 40%, 3%))
hex
background-color: #235238;
tailwind
bg-[hsl(146,40%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(146, 40%, 23%, 0.4);
css variable
--color-primary: hsl(146, 40%, 23%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(146, 40%, 23%)?
HEX: #235238 | RGB: rgb(35, 82, 56) | CMYK: 57%, 0%, 32%, 68% | HSV: 147°, 57%, 32%. Copy any format from the conversion table above.
What colors go well with #235238?
The complementary color is HSL(326, 40%, 23%). For a triadic harmony, use hues 146°, 266°, and 26°. For analogous combinations, try hues 116° and 176°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(146, 40%, 23%) in CSS?
As HSL: color: hsl(146, 40%, 23%); — As HEX: color: #235238; — As RGB: color: rgb(35, 82, 56); — Tailwind CSS: bg-[hsl(146,40%,23%)] — CSS variable: --color-primary: hsl(146, 40%, 23%);