HSL(118, 63%, 30%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(118,63%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(118, 63%, 30%) | color: hsl(118, 63%, 30%) | |
| HEX | #207D1C | color: #207D1C | |
| RGB | rgb(32, 125, 28) | color: rgb(32, 125, 28) | |
| CMYK | cmyk(74%, 0%, 78%, 51%) | — | |
| HSV | hsv(118, 78%, 49%) | — | |
| HWB | hwb(118 11% 51%) | color: hwb(118 11% 51%) | |
| OKLCH | oklch(0.517 0.1565 142.43) | color: oklch(0.517 0.1565 142.43) | |
| Lab | lab(45.71 -45.62 42.35) | color: lab(45.71 -45.62 42.35) | |
| LCH | lch(45.71 62.25 137.13) | color: lch(45.71 62.25 137.13) |
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)
#484933 — rgb(72, 73, 51)
Deuteranopia (Green-blind)
#433C39 — rgb(67, 60, 57)
Tritanopia (Blue-blind)
#25464A — rgb(37, 70, 74)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(118, 63%, 30%);
text
color: hsl(118, 63%, 30%);
border
border: 2px solid hsl(118, 63%, 30%);
gradient light
background: linear-gradient(to right, hsl(118, 63%, 50%), hsl(118, 63%, 30%));
gradient dark
background: linear-gradient(to right, hsl(118, 63%, 30%), hsl(118, 63%, 10%))
hex
background-color: #207D1C;
tailwind
bg-[hsl(118,63%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(118, 63%, 30%, 0.4);
css variable
--color-primary: hsl(118, 63%, 30%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(118, 63%, 30%)?
HEX: #207D1C | RGB: rgb(32, 125, 28) | CMYK: 74%, 0%, 78%, 51% | HSV: 118°, 78%, 49%. Copy any format from the conversion table above.
What colors go well with #207D1C?
The complementary color is HSL(298, 63%, 30%). For a triadic harmony, use hues 118°, 238°, and 358°. For analogous combinations, try hues 88° and 148°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(118, 63%, 30%) in CSS?
As HSL: color: hsl(118, 63%, 30%); — As HEX: color: #207D1C; — As RGB: color: rgb(32, 125, 28); — Tailwind CSS: bg-[hsl(118,63%,30%)] — CSS variable: --color-primary: hsl(118, 63%, 30%);