HSL(98, 40%, 54%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(98,40%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(98, 40%, 54%) | color: hsl(98, 40%, 54%) | |
| HEX | #7DB95B | color: #7DB95B | |
| RGB | rgb(125, 185, 91) | color: rgb(125, 185, 91) | |
| CMYK | cmyk(32%, 0%, 51%, 27%) | — | |
| HSV | hsv(98, 51%, 73%) | — | |
| HWB | hwb(98 36% 27%) | color: hwb(98 36% 27%) | |
| OKLCH | oklch(0.7232 0.1409 135.36) | color: oklch(0.7232 0.1409 135.36) | |
| Lab | lab(69.34 -36.35 41.33) | color: lab(69.34 -36.35 41.33) | |
| LCH | lch(69.34 55.04 131.33) | color: lch(69.34 55.04 131.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)
#979872 — rgb(151, 152, 114)
Deuteranopia (Green-blind)
#948F77 — rgb(148, 143, 119)
Tritanopia (Blue-blind)
#808488 — rgb(128, 132, 136)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(98, 40%, 54%);
text
color: hsl(98, 40%, 54%);
border
border: 2px solid hsl(98, 40%, 54%);
gradient light
background: linear-gradient(to right, hsl(98, 40%, 74%), hsl(98, 40%, 54%));
gradient dark
background: linear-gradient(to right, hsl(98, 40%, 54%), hsl(98, 40%, 34%))
hex
background-color: #7DB95B;
tailwind
bg-[hsl(98,40%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(98, 40%, 54%, 0.4);
css variable
--color-primary: hsl(98, 40%, 54%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(98, 40%, 54%)?
HEX: #7DB95B | RGB: rgb(125, 185, 91) | CMYK: 32%, 0%, 51%, 27% | HSV: 98°, 51%, 73%. Copy any format from the conversion table above.
What colors go well with #7DB95B?
The complementary color is HSL(278, 40%, 54%). For a triadic harmony, use hues 98°, 218°, and 338°. For analogous combinations, try hues 68° and 128°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(98, 40%, 54%) in CSS?
As HSL: color: hsl(98, 40%, 54%); — As HEX: color: #7DB95B; — As RGB: color: rgb(125, 185, 91); — Tailwind CSS: bg-[hsl(98,40%,54%)] — CSS variable: --color-primary: hsl(98, 40%, 54%);