HSL(98, 40%, 38%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(98,40%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(98, 40%, 38%) | color: hsl(98, 40%, 38%) | |
| HEX | #57883A | color: #57883A | |
| RGB | rgb(87, 136, 58) | color: rgb(87, 136, 58) | |
| CMYK | cmyk(36%, 0%, 57%, 47%) | — | |
| HSV | hsv(98, 57%, 53%) | — | |
| HWB | hwb(98 23% 47%) | color: hwb(98 23% 47%) | |
| OKLCH | oklch(0.5736 0.1216 135.32) | color: oklch(0.5736 0.1216 135.32) | |
| Lab | lab(51.77 -31.24 36.19) | color: lab(51.77 -31.24 36.19) | |
| LCH | lch(51.77 47.81 130.8) | color: lch(51.77 47.81 130.8) |
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)
#6C6D4D — rgb(108, 109, 77)
Deuteranopia (Green-blind)
#696651 — rgb(105, 102, 81)
Tritanopia (Blue-blind)
#595C5F — rgb(89, 92, 95)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(98, 40%, 38%);
text
color: hsl(98, 40%, 38%);
border
border: 2px solid hsl(98, 40%, 38%);
gradient light
background: linear-gradient(to right, hsl(98, 40%, 58%), hsl(98, 40%, 38%));
gradient dark
background: linear-gradient(to right, hsl(98, 40%, 38%), hsl(98, 40%, 18%))
hex
background-color: #57883A;
tailwind
bg-[hsl(98,40%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(98, 40%, 38%, 0.4);
css variable
--color-primary: hsl(98, 40%, 38%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(98, 40%, 38%)?
HEX: #57883A | RGB: rgb(87, 136, 58) | CMYK: 36%, 0%, 57%, 47% | HSV: 98°, 57%, 53%. Copy any format from the conversion table above.
What colors go well with #57883A?
The complementary color is HSL(278, 40%, 38%). 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%, 38%) in CSS?
As HSL: color: hsl(98, 40%, 38%); — As HEX: color: #57883A; — As RGB: color: rgb(87, 136, 58); — Tailwind CSS: bg-[hsl(98,40%,38%)] — CSS variable: --color-primary: hsl(98, 40%, 38%);