HSL(130, 80%, 24%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(130,80%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(130, 80%, 24%) | color: hsl(130, 80%, 24%) | |
| HEX | #0C6E1D | color: #0C6E1D | |
| RGB | rgb(12, 110, 29) | color: rgb(12, 110, 29) | |
| CMYK | cmyk(89%, 0%, 74%, 57%) | — | |
| HSV | hsv(130, 89%, 43%) | — | |
| HWB | hwb(130 5% 57%) | color: hwb(130 5% 57%) | |
| OKLCH | oklch(0.4695 0.1432 144.74) | color: oklch(0.4695 0.1432 144.74) | |
| Lab | lab(40.11 -43.34 36.11) | color: lab(40.11 -43.34 36.11) | |
| LCH | lch(40.11 56.41 140.2) | color: lch(40.11 56.41 140.2) |
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)
#363731 — rgb(54, 55, 49)
Deuteranopia (Green-blind)
#312935 — rgb(49, 41, 53)
Tritanopia (Blue-blind)
#114043 — rgb(17, 64, 67)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(130, 80%, 24%);
text
color: hsl(130, 80%, 24%);
border
border: 2px solid hsl(130, 80%, 24%);
gradient light
background: linear-gradient(to right, hsl(130, 80%, 44%), hsl(130, 80%, 24%));
gradient dark
background: linear-gradient(to right, hsl(130, 80%, 24%), hsl(130, 80%, 4%))
hex
background-color: #0C6E1D;
tailwind
bg-[hsl(130,80%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(130, 80%, 24%, 0.4);
css variable
--color-primary: hsl(130, 80%, 24%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(130, 80%, 24%)?
HEX: #0C6E1D | RGB: rgb(12, 110, 29) | CMYK: 89%, 0%, 74%, 57% | HSV: 130°, 89%, 43%. Copy any format from the conversion table above.
What colors go well with #0C6E1D?
The complementary color is HSL(310, 80%, 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, 80%, 24%) in CSS?
As HSL: color: hsl(130, 80%, 24%); — As HEX: color: #0C6E1D; — As RGB: color: rgb(12, 110, 29); — Tailwind CSS: bg-[hsl(130,80%,24%)] — CSS variable: --color-primary: hsl(130, 80%, 24%);