HSL(127, 67%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(127,67%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(127, 67%, 18%) | color: hsl(127, 67%, 18%) | |
| HEX | #0F4D16 | color: #0F4D16 | |
| RGB | rgb(15, 77, 22) | color: rgb(15, 77, 22) | |
| CMYK | cmyk(81%, 0%, 71%, 70%) | — | |
| HSV | hsv(127, 81%, 30%) | — | |
| HWB | hwb(127 6% 70%) | color: hwb(127 6% 70%) | |
| OKLCH | oklch(0.369 0.1056 144.58) | color: oklch(0.369 0.1056 144.58) | |
| Lab | lab(28.03 -31.83 26.35) | color: lab(28.03 -31.83 26.35) | |
| LCH | lch(28.03 41.32 140.38) | color: lch(28.03 41.32 140.38) |
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)
#262227 — rgb(38, 34, 39)
Tritanopia (Blue-blind)
#122E30 — rgb(18, 46, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(127, 67%, 18%);
text
color: hsl(127, 67%, 18%);
border
border: 2px solid hsl(127, 67%, 18%);
gradient light
background: linear-gradient(to right, hsl(127, 67%, 38%), hsl(127, 67%, 18%));
gradient dark
background: linear-gradient(to right, hsl(127, 67%, 18%), hsl(127, 67%, 0%))
hex
background-color: #0F4D16;
tailwind
bg-[hsl(127,67%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(127, 67%, 18%, 0.4);
css variable
--color-primary: hsl(127, 67%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(127, 67%, 18%)?
HEX: #0F4D16 | RGB: rgb(15, 77, 22) | CMYK: 81%, 0%, 71%, 70% | HSV: 127°, 81%, 30%. Copy any format from the conversion table above.
What colors go well with #0F4D16?
The complementary color is HSL(307, 67%, 18%). For a triadic harmony, use hues 127°, 247°, and 7°. For analogous combinations, try hues 97° and 157°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(127, 67%, 18%) in CSS?
As HSL: color: hsl(127, 67%, 18%); — As HEX: color: #0F4D16; — As RGB: color: rgb(15, 77, 22); — Tailwind CSS: bg-[hsl(127,67%,18%)] — CSS variable: --color-primary: hsl(127, 67%, 18%);