HSL(125, 60%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(125,60%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(125, 60%, 18%) | color: hsl(125, 60%, 18%) | |
| HEX | #124917 | color: #124917 | |
| RGB | rgb(18, 73, 23) | color: rgb(18, 73, 23) | |
| CMYK | cmyk(75%, 0%, 68%, 71%) | — | |
| HSV | hsv(125, 75%, 29%) | — | |
| HWB | hwb(125 7% 71%) | color: hwb(125 7% 71%) | |
| OKLCH | oklch(0.3575 0.0979 144.53) | color: oklch(0.3575 0.0979 144.53) | |
| Lab | lab(26.61 -29.48 24.27) | color: lab(26.61 -29.48 24.27) | |
| LCH | lch(26.61 38.19 140.54) | color: lch(26.61 38.19 140.54) |
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)
#2A2A23 — rgb(42, 42, 35)
Deuteranopia (Green-blind)
#272326 — rgb(39, 35, 38)
Tritanopia (Blue-blind)
#152D2F — rgb(21, 45, 47)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(125, 60%, 18%);
text
color: hsl(125, 60%, 18%);
border
border: 2px solid hsl(125, 60%, 18%);
gradient light
background: linear-gradient(to right, hsl(125, 60%, 38%), hsl(125, 60%, 18%));
gradient dark
background: linear-gradient(to right, hsl(125, 60%, 18%), hsl(125, 60%, 0%))
hex
background-color: #124917;
tailwind
bg-[hsl(125,60%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(125, 60%, 18%, 0.4);
css variable
--color-primary: hsl(125, 60%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(125, 60%, 18%)?
HEX: #124917 | RGB: rgb(18, 73, 23) | CMYK: 75%, 0%, 68%, 71% | HSV: 125°, 75%, 29%. Copy any format from the conversion table above.
What colors go well with #124917?
The complementary color is HSL(305, 60%, 18%). For a triadic harmony, use hues 125°, 245°, and 5°. For analogous combinations, try hues 95° and 155°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(125, 60%, 18%) in CSS?
As HSL: color: hsl(125, 60%, 18%); — As HEX: color: #124917; — As RGB: color: rgb(18, 73, 23); — Tailwind CSS: bg-[hsl(125,60%,18%)] — CSS variable: --color-primary: hsl(125, 60%, 18%);