HSL(102, 54%, 32%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(102,54%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(102, 54%, 32%) | color: hsl(102, 54%, 32%) | |
| HEX | #407E26 | color: #407E26 | |
| RGB | rgb(64, 126, 38) | color: rgb(64, 126, 38) | |
| CMYK | cmyk(49%, 0%, 70%, 51%) | — | |
| HSV | hsv(102, 70%, 49%) | — | |
| HWB | hwb(102 15% 51%) | color: hwb(102 15% 51%) | |
| OKLCH | oklch(0.5323 0.1371 137.91) | color: oklch(0.5323 0.1371 137.91) | |
| Lab | lab(47.17 -36.84 40.14) | color: lab(47.17 -36.84 40.14) | |
| LCH | lch(47.17 54.48 132.55) | color: lch(47.17 54.48 132.55) |
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)
#5B5B3B — rgb(91, 91, 59)
Deuteranopia (Green-blind)
#575340 — rgb(87, 83, 64)
Tritanopia (Blue-blind)
#434C50 — rgb(67, 76, 80)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(102, 54%, 32%);
text
color: hsl(102, 54%, 32%);
border
border: 2px solid hsl(102, 54%, 32%);
gradient light
background: linear-gradient(to right, hsl(102, 54%, 52%), hsl(102, 54%, 32%));
gradient dark
background: linear-gradient(to right, hsl(102, 54%, 32%), hsl(102, 54%, 12%))
hex
background-color: #407E26;
tailwind
bg-[hsl(102,54%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(102, 54%, 32%, 0.4);
css variable
--color-primary: hsl(102, 54%, 32%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(102, 54%, 32%)?
HEX: #407E26 | RGB: rgb(64, 126, 38) | CMYK: 49%, 0%, 70%, 51% | HSV: 102°, 70%, 49%. Copy any format from the conversion table above.
What colors go well with #407E26?
The complementary color is HSL(282, 54%, 32%). For a triadic harmony, use hues 102°, 222°, and 342°. For analogous combinations, try hues 72° and 132°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(102, 54%, 32%) in CSS?
As HSL: color: hsl(102, 54%, 32%); — As HEX: color: #407E26; — As RGB: color: rgb(64, 126, 38); — Tailwind CSS: bg-[hsl(102,54%,32%)] — CSS variable: --color-primary: hsl(102, 54%, 32%);