HSL(66, 30%, 49%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(66,30%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(66, 30%, 49%) | color: hsl(66, 30%, 49%) | |
| HEX | #9BA257 | color: #9BA257 | |
| RGB | rgb(155, 162, 87) | color: rgb(155, 162, 87) | |
| CMYK | cmyk(4%, 0%, 46%, 36%) | — | |
| HSV | hsv(66, 46%, 64%) | — | |
| HWB | hwb(66 35% 36%) | color: hwb(66 35% 36%) | |
| OKLCH | oklch(0.6896 0.0991 113.38) | color: oklch(0.6896 0.0991 113.38) | |
| Lab | lab(64.56 -13.93 37.96) | color: lab(64.56 -13.93 37.96) | |
| LCH | lch(64.56 40.44 110.15) | color: lch(64.56 40.44 110.15) |
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)
#9E9E69 — rgb(158, 158, 105)
Deuteranopia (Green-blind)
#9E9D6E — rgb(158, 157, 110)
Tritanopia (Blue-blind)
#9B777B — rgb(155, 119, 123)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(66, 30%, 49%);
text
color: hsl(66, 30%, 49%);
border
border: 2px solid hsl(66, 30%, 49%);
gradient light
background: linear-gradient(to right, hsl(66, 30%, 69%), hsl(66, 30%, 49%));
gradient dark
background: linear-gradient(to right, hsl(66, 30%, 49%), hsl(66, 30%, 29%))
hex
background-color: #9BA257;
tailwind
bg-[hsl(66,30%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(66, 30%, 49%, 0.4);
css variable
--color-primary: hsl(66, 30%, 49%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(66, 30%, 49%)?
HEX: #9BA257 | RGB: rgb(155, 162, 87) | CMYK: 4%, 0%, 46%, 36% | HSV: 66°, 46%, 64%. Copy any format from the conversion table above.
What colors go well with #9BA257?
The complementary color is HSL(246, 30%, 49%). For a triadic harmony, use hues 66°, 186°, and 306°. For analogous combinations, try hues 36° and 96°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(66, 30%, 49%) in CSS?
As HSL: color: hsl(66, 30%, 49%); — As HEX: color: #9BA257; — As RGB: color: rgb(155, 162, 87); — Tailwind CSS: bg-[hsl(66,30%,49%)] — CSS variable: --color-primary: hsl(66, 30%, 49%);