HSL(72, 62%, 45%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(72,62%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(72, 62%, 45%) | color: hsl(72, 62%, 45%) | |
| HEX | #9DBA2C | color: #9DBA2C | |
| RGB | rgb(157, 186, 44) | color: rgb(157, 186, 44) | |
| CMYK | cmyk(16%, 0%, 76%, 27%) | — | |
| HSV | hsv(72, 76%, 73%) | — | |
| HWB | hwb(72 18% 27%) | color: hwb(72 18% 27%) | |
| OKLCH | oklch(0.742 0.1631 120.89) | color: oklch(0.742 0.1631 120.89) | |
| Lab | lab(71.19 -28.29 63.54) | color: lab(71.19 -28.29 63.54) | |
| LCH | lch(71.19 69.55 114) | color: lch(71.19 69.55 114) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#AAAA4E — rgb(170, 170, 78)
Deuteranopia (Green-blind)
#A8A657 — rgb(168, 166, 87)
Tritanopia (Blue-blind)
#9E696F — rgb(158, 105, 111)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(72, 62%, 45%);
text
color: hsl(72, 62%, 45%);
border
border: 2px solid hsl(72, 62%, 45%);
gradient light
background: linear-gradient(to right, hsl(72, 62%, 65%), hsl(72, 62%, 45%));
gradient dark
background: linear-gradient(to right, hsl(72, 62%, 45%), hsl(72, 62%, 25%))
hex
background-color: #9DBA2C;
tailwind
bg-[hsl(72,62%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(72, 62%, 45%, 0.4);
css variable
--color-primary: hsl(72, 62%, 45%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(72, 62%, 45%)?
HEX: #9DBA2C | RGB: rgb(157, 186, 44) | CMYK: 16%, 0%, 76%, 27% | HSV: 72°, 76%, 73%. Copy any format from the conversion table above.
What colors go well with #9DBA2C?
The complementary color is HSL(252, 62%, 45%). 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, 62%, 45%) in CSS?
As HSL: color: hsl(72, 62%, 45%); — As HEX: color: #9DBA2C; — As RGB: color: rgb(157, 186, 44); — Tailwind CSS: bg-[hsl(72,62%,45%)] — CSS variable: --color-primary: hsl(72, 62%, 45%);