HSL(107, 54%, 25%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(107,54%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(107, 54%, 25%) | color: hsl(107, 54%, 25%) | |
| HEX | #2C621D | color: #2C621D | |
| RGB | rgb(44, 98, 29) | color: rgb(44, 98, 29) | |
| CMYK | cmyk(55%, 0%, 70%, 62%) | — | |
| HSV | hsv(107, 70%, 38%) | — | |
| HWB | hwb(107 11% 62%) | color: hwb(107 11% 62%) | |
| OKLCH | oklch(0.4433 0.116 139.55) | color: oklch(0.4433 0.116 139.55) | |
| Lab | lab(36.67 -32.13 32.68) | color: lab(36.67 -32.13 32.68) | |
| LCH | lch(36.67 45.83 134.51) | color: lch(36.67 45.83 134.51) |
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)
#43442E — rgb(67, 68, 46)
Deuteranopia (Green-blind)
#403C32 — rgb(64, 60, 50)
Tritanopia (Blue-blind)
#2F3B3E — rgb(47, 59, 62)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(107, 54%, 25%);
text
color: hsl(107, 54%, 25%);
border
border: 2px solid hsl(107, 54%, 25%);
gradient light
background: linear-gradient(to right, hsl(107, 54%, 45%), hsl(107, 54%, 25%));
gradient dark
background: linear-gradient(to right, hsl(107, 54%, 25%), hsl(107, 54%, 5%))
hex
background-color: #2C621D;
tailwind
bg-[hsl(107,54%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(107, 54%, 25%, 0.4);
css variable
--color-primary: hsl(107, 54%, 25%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(107, 54%, 25%)?
HEX: #2C621D | RGB: rgb(44, 98, 29) | CMYK: 55%, 0%, 70%, 62% | HSV: 107°, 70%, 38%. Copy any format from the conversion table above.
What colors go well with #2C621D?
The complementary color is HSL(287, 54%, 25%). For a triadic harmony, use hues 107°, 227°, and 347°. For analogous combinations, try hues 77° and 137°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(107, 54%, 25%) in CSS?
As HSL: color: hsl(107, 54%, 25%); — As HEX: color: #2C621D; — As RGB: color: rgb(44, 98, 29); — Tailwind CSS: bg-[hsl(107,54%,25%)] — CSS variable: --color-primary: hsl(107, 54%, 25%);