HSL(107, 95%, 31%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(107,95%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(107, 95%, 31%) | color: hsl(107, 95%, 31%) | |
| HEX | #249A04 | color: #249A04 | |
| RGB | rgb(36, 154, 4) | color: rgb(36, 154, 4) | |
| CMYK | cmyk(77%, 0%, 97%, 40%) | — | |
| HSV | hsv(107, 97%, 60%) | — | |
| HWB | hwb(107 2% 40%) | color: hwb(107 2% 40%) | |
| OKLCH | oklch(0.599 0.1956 141) | color: oklch(0.599 0.1956 141) | |
| Lab | lab(55.58 -55.59 56.92) | color: lab(55.58 -55.59 56.92) | |
| LCH | lch(55.58 79.56 134.32) | color: lch(55.58 79.56 134.32) |
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)
#575828 — rgb(87, 88, 40)
Deuteranopia (Green-blind)
#504731 — rgb(80, 71, 49)
Tritanopia (Blue-blind)
#2A454B — rgb(42, 69, 75)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(107, 95%, 31%);
text
color: hsl(107, 95%, 31%);
border
border: 2px solid hsl(107, 95%, 31%);
gradient light
background: linear-gradient(to right, hsl(107, 95%, 51%), hsl(107, 95%, 31%));
gradient dark
background: linear-gradient(to right, hsl(107, 95%, 31%), hsl(107, 95%, 11%))
hex
background-color: #249A04;
tailwind
bg-[hsl(107,95%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(107, 95%, 31%, 0.4);
css variable
--color-primary: hsl(107, 95%, 31%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(107, 95%, 31%)?
HEX: #249A04 | RGB: rgb(36, 154, 4) | CMYK: 77%, 0%, 97%, 40% | HSV: 107°, 97%, 60%. Copy any format from the conversion table above.
What colors go well with #249A04?
The complementary color is HSL(287, 95%, 31%). For a triadic harmony, use hues 107°, 227°, and 347°. For analogous combinations, try hues 77° and 137°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(107, 95%, 31%) in CSS?
As HSL: color: hsl(107, 95%, 31%); — As HEX: color: #249A04; — As RGB: color: rgb(36, 154, 4); — Tailwind CSS: bg-[hsl(107,95%,31%)] — CSS variable: --color-primary: hsl(107, 95%, 31%);