HSL(72, 40%, 49%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(72,40%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(72, 40%, 49%) | color: hsl(72, 40%, 49%) | |
| HEX | #9BAF4B | color: #9BAF4B | |
| RGB | rgb(155, 175, 75) | color: rgb(155, 175, 75) | |
| CMYK | cmyk(11%, 0%, 57%, 31%) | — | |
| HSV | hsv(72, 57%, 69%) | — | |
| HWB | hwb(72 30% 31%) | color: hwb(72 30% 31%) | |
| OKLCH | oklch(0.7177 0.128 119.21) | color: oklch(0.7177 0.128 119.21) | |
| Lab | lab(68.12 -21.71 48.02) | color: lab(68.12 -21.71 48.02) | |
| LCH | lch(68.12 52.7 114.33) | color: lch(68.12 52.7 114.33) |
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)
#A4A463 — rgb(164, 164, 99)
Deuteranopia (Green-blind)
#A3A169 — rgb(163, 161, 105)
Tritanopia (Blue-blind)
#9C767B — rgb(156, 118, 123)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(72, 40%, 49%);
text
color: hsl(72, 40%, 49%);
border
border: 2px solid hsl(72, 40%, 49%);
gradient light
background: linear-gradient(to right, hsl(72, 40%, 69%), hsl(72, 40%, 49%));
gradient dark
background: linear-gradient(to right, hsl(72, 40%, 49%), hsl(72, 40%, 29%))
hex
background-color: #9BAF4B;
tailwind
bg-[hsl(72,40%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(72, 40%, 49%, 0.4);
css variable
--color-primary: hsl(72, 40%, 49%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(72, 40%, 49%)?
HEX: #9BAF4B | RGB: rgb(155, 175, 75) | CMYK: 11%, 0%, 57%, 31% | HSV: 72°, 57%, 69%. Copy any format from the conversion table above.
What colors go well with #9BAF4B?
The complementary color is HSL(252, 40%, 49%). 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, 40%, 49%) in CSS?
As HSL: color: hsl(72, 40%, 49%); — As HEX: color: #9BAF4B; — As RGB: color: rgb(155, 175, 75); — Tailwind CSS: bg-[hsl(72,40%,49%)] — CSS variable: --color-primary: hsl(72, 40%, 49%);