HSL(130, 50%, 24%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(130,50%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(130, 50%, 24%) | color: hsl(130, 50%, 24%) | |
| HEX | #1F5C29 | color: #1F5C29 | |
| RGB | rgb(31, 92, 41) | color: rgb(31, 92, 41) | |
| CMYK | cmyk(66%, 0%, 55%, 64%) | — | |
| HSV | hsv(130, 66%, 36%) | — | |
| HWB | hwb(130 12% 64%) | color: hwb(130 12% 64%) | |
| OKLCH | oklch(0.4221 0.1027 146.49) | color: oklch(0.4221 0.1027 146.49) | |
| Lab | lab(34.2 -31.67 23.52) | color: lab(34.2 -31.67 23.52) | |
| LCH | lch(34.2 39.45 143.4) | color: lch(34.2 39.45 143.4) |
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)
#393A35 — rgb(57, 58, 53)
Deuteranopia (Green-blind)
#363138 — rgb(54, 49, 56)
Tritanopia (Blue-blind)
#223F41 — rgb(34, 63, 65)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(130, 50%, 24%);
text
color: hsl(130, 50%, 24%);
border
border: 2px solid hsl(130, 50%, 24%);
gradient light
background: linear-gradient(to right, hsl(130, 50%, 44%), hsl(130, 50%, 24%));
gradient dark
background: linear-gradient(to right, hsl(130, 50%, 24%), hsl(130, 50%, 4%))
hex
background-color: #1F5C29;
tailwind
bg-[hsl(130,50%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(130, 50%, 24%, 0.4);
css variable
--color-primary: hsl(130, 50%, 24%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(130, 50%, 24%)?
HEX: #1F5C29 | RGB: rgb(31, 92, 41) | CMYK: 66%, 0%, 55%, 64% | HSV: 130°, 66%, 36%. Copy any format from the conversion table above.
What colors go well with #1F5C29?
The complementary color is HSL(310, 50%, 24%). For a triadic harmony, use hues 130°, 250°, and 10°. For analogous combinations, try hues 100° and 160°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(130, 50%, 24%) in CSS?
As HSL: color: hsl(130, 50%, 24%); — As HEX: color: #1F5C29; — As RGB: color: rgb(31, 92, 41); — Tailwind CSS: bg-[hsl(130,50%,24%)] — CSS variable: --color-primary: hsl(130, 50%, 24%);