HSL(146, 32%, 24%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(146,32%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(146, 32%, 24%) | color: hsl(146, 32%, 24%) | |
| HEX | #2A513B | color: #2A513B | |
| RGB | rgb(42, 81, 59) | color: rgb(42, 81, 59) | |
| CMYK | cmyk(48%, 0%, 27%, 68%) | — | |
| HSV | hsv(146, 48%, 32%) | — | |
| HWB | hwb(146 17% 68%) | color: hwb(146 17% 68%) | |
| OKLCH | oklch(0.399 0.0585 157.61) | color: oklch(0.399 0.0585 157.61) | |
| Lab | lab(31.1 -19.66 8.72) | color: lab(31.1 -19.66 8.72) | |
| LCH | lch(31.1 21.51 156.08) | color: lch(31.1 21.51 156.08) |
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)
#3B3B40 — rgb(59, 59, 64)
Deuteranopia (Green-blind)
#393642 — rgb(57, 54, 66)
Tritanopia (Blue-blind)
#2C4545 — rgb(44, 69, 69)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(146, 32%, 24%);
text
color: hsl(146, 32%, 24%);
border
border: 2px solid hsl(146, 32%, 24%);
gradient light
background: linear-gradient(to right, hsl(146, 32%, 44%), hsl(146, 32%, 24%));
gradient dark
background: linear-gradient(to right, hsl(146, 32%, 24%), hsl(146, 32%, 4%))
hex
background-color: #2A513B;
tailwind
bg-[hsl(146,32%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(146, 32%, 24%, 0.4);
css variable
--color-primary: hsl(146, 32%, 24%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(146, 32%, 24%)?
HEX: #2A513B | RGB: rgb(42, 81, 59) | CMYK: 48%, 0%, 27%, 68% | HSV: 146°, 48%, 32%. Copy any format from the conversion table above.
What colors go well with #2A513B?
The complementary color is HSL(326, 32%, 24%). 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, 32%, 24%) in CSS?
As HSL: color: hsl(146, 32%, 24%); — As HEX: color: #2A513B; — As RGB: color: rgb(42, 81, 59); — Tailwind CSS: bg-[hsl(146,32%,24%)] — CSS variable: --color-primary: hsl(146, 32%, 24%);