HSL(115, 70%, 34%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(115,70%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(115, 70%, 34%) | color: hsl(115, 70%, 34%) | |
| HEX | #24931A | color: #24931A | |
| RGB | rgb(36, 147, 26) | color: rgb(36, 147, 26) | |
| CMYK | cmyk(76%, 0%, 82%, 42%) | — | |
| HSV | hsv(115, 82%, 58%) | — | |
| HWB | hwb(115 10% 42%) | color: hwb(115 10% 42%) | |
| OKLCH | oklch(0.5802 0.1815 141.96) | color: oklch(0.5802 0.1815 141.96) | |
| Lab | lab(53.29 -52.48 50.36) | color: lab(53.29 -52.48 50.36) | |
| LCH | lch(53.29 72.73 136.18) | color: lch(53.29 72.73 136.18) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#545537 — rgb(84, 85, 55)
Deuteranopia (Green-blind)
#4E453E — rgb(78, 69, 62)
Tritanopia (Blue-blind)
#2A4E53 — rgb(42, 78, 83)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(115, 70%, 34%);
text
color: hsl(115, 70%, 34%);
border
border: 2px solid hsl(115, 70%, 34%);
gradient light
background: linear-gradient(to right, hsl(115, 70%, 54%), hsl(115, 70%, 34%));
gradient dark
background: linear-gradient(to right, hsl(115, 70%, 34%), hsl(115, 70%, 14%))
hex
background-color: #24931A;
tailwind
bg-[hsl(115,70%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(115, 70%, 34%, 0.4);
css variable
--color-primary: hsl(115, 70%, 34%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(115, 70%, 34%)?
HEX: #24931A | RGB: rgb(36, 147, 26) | CMYK: 76%, 0%, 82%, 42% | HSV: 115°, 82%, 58%. Copy any format from the conversion table above.
What colors go well with #24931A?
The complementary color is HSL(295, 70%, 34%). For a triadic harmony, use hues 115°, 235°, and 355°. For analogous combinations, try hues 85° and 145°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(115, 70%, 34%) in CSS?
As HSL: color: hsl(115, 70%, 34%); — As HEX: color: #24931A; — As RGB: color: rgb(36, 147, 26); — Tailwind CSS: bg-[hsl(115,70%,34%)] — CSS variable: --color-primary: hsl(115, 70%, 34%);