HSL(89, 20%, 45%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(89,20%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(89, 20%, 45%) | color: hsl(89, 20%, 45%) | |
| HEX | #748A5C | color: #748A5C | |
| RGB | rgb(116, 138, 92) | color: rgb(116, 138, 92) | |
| CMYK | cmyk(16%, 0%, 33%, 46%) | — | |
| HSV | hsv(89, 33%, 54%) | — | |
| HWB | hwb(89 36% 46%) | color: hwb(89 36% 46%) | |
| OKLCH | oklch(0.6038 0.0712 129.11) | color: oklch(0.6038 0.0712 129.11) | |
| Lab | lab(54.72 -16.53 22.12) | color: lab(54.72 -16.53 22.12) | |
| LCH | lch(54.72 27.61 126.77) | color: lch(54.72 27.61 126.77) |
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)
#7E7E67 — rgb(126, 126, 103)
Deuteranopia (Green-blind)
#7C7B6A — rgb(124, 123, 106)
Tritanopia (Blue-blind)
#757072 — rgb(117, 112, 114)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(89, 20%, 45%);
text
color: hsl(89, 20%, 45%);
border
border: 2px solid hsl(89, 20%, 45%);
gradient light
background: linear-gradient(to right, hsl(89, 20%, 65%), hsl(89, 20%, 45%));
gradient dark
background: linear-gradient(to right, hsl(89, 20%, 45%), hsl(89, 20%, 25%))
hex
background-color: #748A5C;
tailwind
bg-[hsl(89,20%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(89, 20%, 45%, 0.4);
css variable
--color-primary: hsl(89, 20%, 45%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(89, 20%, 45%)?
HEX: #748A5C | RGB: rgb(116, 138, 92) | CMYK: 16%, 0%, 33%, 46% | HSV: 89°, 33%, 54%. Copy any format from the conversion table above.
What colors go well with #748A5C?
The complementary color is HSL(269, 20%, 45%). For a triadic harmony, use hues 89°, 209°, and 329°. For analogous combinations, try hues 59° and 119°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(89, 20%, 45%) in CSS?
As HSL: color: hsl(89, 20%, 45%); — As HEX: color: #748A5C; — As RGB: color: rgb(116, 138, 92); — Tailwind CSS: bg-[hsl(89,20%,45%)] — CSS variable: --color-primary: hsl(89, 20%, 45%);