HSL(72, 95%, 18%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(72,95%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(72, 95%, 18%) | color: hsl(72, 95%, 18%) | |
| HEX | #485A02 | color: #485A02 | |
| RGB | rgb(72, 90, 2) | color: rgb(72, 90, 2) | |
| CMYK | cmyk(20%, 0%, 98%, 65%) | — | |
| HSV | hsv(72, 98%, 35%) | — | |
| HWB | hwb(72 1% 65%) | color: hwb(72 1% 65%) | |
| OKLCH | oklch(0.4367 0.105 122.16) | color: oklch(0.4367 0.105 122.16) | |
| Lab | lab(35.39 -18.73 41.73) | color: lab(35.39 -18.73 41.73) | |
| LCH | lch(35.39 45.74 114.17) | color: lch(35.39 45.74 114.17) |
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)
#505017 — rgb(80, 80, 23)
Deuteranopia (Green-blind)
#4F4D1C — rgb(79, 77, 28)
Tritanopia (Blue-blind)
#49282C — rgb(73, 40, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(72, 95%, 18%);
text
color: hsl(72, 95%, 18%);
border
border: 2px solid hsl(72, 95%, 18%);
gradient light
background: linear-gradient(to right, hsl(72, 95%, 38%), hsl(72, 95%, 18%));
gradient dark
background: linear-gradient(to right, hsl(72, 95%, 18%), hsl(72, 95%, 0%))
hex
background-color: #485A02;
tailwind
bg-[hsl(72,95%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(72, 95%, 18%, 0.4);
css variable
--color-primary: hsl(72, 95%, 18%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(72, 95%, 18%)?
HEX: #485A02 | RGB: rgb(72, 90, 2) | CMYK: 20%, 0%, 98%, 65% | HSV: 72°, 98%, 35%. Copy any format from the conversion table above.
What colors go well with #485A02?
The complementary color is HSL(252, 95%, 18%). For a triadic harmony, use hues 72°, 192°, and 312°. For analogous combinations, try hues 42° and 102°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(72, 95%, 18%) in CSS?
As HSL: color: hsl(72, 95%, 18%); — As HEX: color: #485A02; — As RGB: color: rgb(72, 90, 2); — Tailwind CSS: bg-[hsl(72,95%,18%)] — CSS variable: --color-primary: hsl(72, 95%, 18%);