HSL(90, 70%, 30%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(90,70%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(90, 70%, 30%) | color: hsl(90, 70%, 30%) | |
| HEX | #4D8217 | color: #4D8217 | |
| RGB | rgb(77, 130, 23) | color: rgb(77, 130, 23) | |
| CMYK | cmyk(41%, 0%, 82%, 49%) | — | |
| HSV | hsv(90, 82%, 51%) | — | |
| HWB | hwb(90 9% 49%) | color: hwb(90 9% 49%) | |
| OKLCH | oklch(0.5487 0.1446 133.21) | color: oklch(0.5487 0.1446 133.21) | |
| Lab | lab(49.01 -35.11 47.79) | color: lab(49.01 -35.11 47.79) | |
| LCH | lch(49.01 59.3 126.3) | color: lch(49.01 59.3 126.3) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#646431 — rgb(100, 100, 49)
Deuteranopia (Green-blind)
#615D37 — rgb(97, 93, 55)
Tritanopia (Blue-blind)
#50454A — rgb(80, 69, 74)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(90, 70%, 30%);
text
color: hsl(90, 70%, 30%);
border
border: 2px solid hsl(90, 70%, 30%);
gradient light
background: linear-gradient(to right, hsl(90, 70%, 50%), hsl(90, 70%, 30%));
gradient dark
background: linear-gradient(to right, hsl(90, 70%, 30%), hsl(90, 70%, 10%))
hex
background-color: #4D8217;
tailwind
bg-[hsl(90,70%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(90, 70%, 30%, 0.4);
css variable
--color-primary: hsl(90, 70%, 30%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(90, 70%, 30%)?
HEX: #4D8217 | RGB: rgb(77, 130, 23) | CMYK: 41%, 0%, 82%, 49% | HSV: 90°, 82%, 51%. Copy any format from the conversion table above.
What colors go well with #4D8217?
The complementary color is HSL(270, 70%, 30%). 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, 70%, 30%) in CSS?
As HSL: color: hsl(90, 70%, 30%); — As HEX: color: #4D8217; — As RGB: color: rgb(77, 130, 23); — Tailwind CSS: bg-[hsl(90,70%,30%)] — CSS variable: --color-primary: hsl(90, 70%, 30%);