HSL(96, 30%, 52%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(96,30%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(96, 30%, 52%) | color: hsl(96, 30%, 52%) | |
| HEX | #7DA960 | color: #7DA960 | |
| RGB | rgb(125, 169, 96) | color: rgb(125, 169, 96) | |
| CMYK | cmyk(26%, 0%, 43%, 34%) | — | |
| HSV | hsv(96, 43%, 66%) | — | |
| HWB | hwb(96 38% 34%) | color: hwb(96 38% 34%) | |
| OKLCH | oklch(0.6853 0.1117 133.92) | color: oklch(0.6853 0.1117 133.92) | |
| Lab | lab(64.63 -28.22 32.95) | color: lab(64.63 -28.22 32.95) | |
| LCH | lch(64.63 43.38 130.58) | color: lch(64.63 43.38 130.58) |
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)
#909072 — rgb(144, 144, 114)
Deuteranopia (Green-blind)
#8E8A76 — rgb(142, 138, 118)
Tritanopia (Blue-blind)
#7F8083 — rgb(127, 128, 131)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(96, 30%, 52%);
text
color: hsl(96, 30%, 52%);
border
border: 2px solid hsl(96, 30%, 52%);
gradient light
background: linear-gradient(to right, hsl(96, 30%, 72%), hsl(96, 30%, 52%));
gradient dark
background: linear-gradient(to right, hsl(96, 30%, 52%), hsl(96, 30%, 32%))
hex
background-color: #7DA960;
tailwind
bg-[hsl(96,30%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(96, 30%, 52%, 0.4);
css variable
--color-primary: hsl(96, 30%, 52%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(96, 30%, 52%)?
HEX: #7DA960 | RGB: rgb(125, 169, 96) | CMYK: 26%, 0%, 43%, 34% | HSV: 96°, 43%, 66%. Copy any format from the conversion table above.
What colors go well with #7DA960?
The complementary color is HSL(276, 30%, 52%). For a triadic harmony, use hues 96°, 216°, and 336°. For analogous combinations, try hues 66° and 126°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(96, 30%, 52%) in CSS?
As HSL: color: hsl(96, 30%, 52%); — As HEX: color: #7DA960; — As RGB: color: rgb(125, 169, 96); — Tailwind CSS: bg-[hsl(96,30%,52%)] — CSS variable: --color-primary: hsl(96, 30%, 52%);