HSL(90, 30%, 49%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(90,30%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(90, 30%, 49%) | color: hsl(90, 30%, 49%) | |
| HEX | #7DA257 | color: #7DA257 | |
| RGB | rgb(125, 162, 87) | color: rgb(125, 162, 87) | |
| CMYK | cmyk(23%, 0%, 46%, 36%) | — | |
| HSV | hsv(90, 46%, 64%) | — | |
| HWB | hwb(90 35% 36%) | color: hwb(90 35% 36%) | |
| OKLCH | oklch(0.667 0.1107 130.41) | color: oklch(0.667 0.1107 130.41) | |
| Lab | lab(62.41 -25.97 34.83) | color: lab(62.41 -25.97 34.83) | |
| LCH | lch(62.41 43.45 126.71) | color: lch(62.41 43.45 126.71) |
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)
#8D8D69 — rgb(141, 141, 105)
Deuteranopia (Green-blind)
#8B886E — rgb(139, 136, 110)
Tritanopia (Blue-blind)
#7F777B — rgb(127, 119, 123)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(90, 30%, 49%);
text
color: hsl(90, 30%, 49%);
border
border: 2px solid hsl(90, 30%, 49%);
gradient light
background: linear-gradient(to right, hsl(90, 30%, 69%), hsl(90, 30%, 49%));
gradient dark
background: linear-gradient(to right, hsl(90, 30%, 49%), hsl(90, 30%, 29%))
hex
background-color: #7DA257;
tailwind
bg-[hsl(90,30%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(90, 30%, 49%, 0.4);
css variable
--color-primary: hsl(90, 30%, 49%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(90, 30%, 49%)?
HEX: #7DA257 | RGB: rgb(125, 162, 87) | CMYK: 23%, 0%, 46%, 36% | HSV: 90°, 46%, 64%. Copy any format from the conversion table above.
What colors go well with #7DA257?
The complementary color is HSL(270, 30%, 49%). For a triadic harmony, use hues 90°, 210°, and 330°. For analogous combinations, try hues 60° and 120°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(90, 30%, 49%) in CSS?
As HSL: color: hsl(90, 30%, 49%); — As HEX: color: #7DA257; — As RGB: color: rgb(125, 162, 87); — Tailwind CSS: bg-[hsl(90,30%,49%)] — CSS variable: --color-primary: hsl(90, 30%, 49%);