HSL(107, 45%, 23%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(107,45%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(107, 45%, 23%) | color: hsl(107, 45%, 23%) | |
| HEX | #2C5520 | color: #2C5520 | |
| RGB | rgb(44, 85, 32) | color: rgb(44, 85, 32) | |
| CMYK | cmyk(48%, 0%, 62%, 67%) | — | |
| HSV | hsv(106, 62%, 33%) | — | |
| HWB | hwb(106 13% 67%) | color: hwb(106 13% 67%) | |
| OKLCH | oklch(0.406 0.094 139.12) | color: oklch(0.406 0.094 139.12) | |
| Lab | lab(32.12 -25.88 26.08) | color: lab(32.12 -25.88 26.08) | |
| LCH | lch(32.12 36.74 134.78) | color: lch(32.12 36.74 134.78) |
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)
#3E3E2D — rgb(62, 62, 45)
Deuteranopia (Green-blind)
#3B3830 — rgb(59, 56, 48)
Tritanopia (Blue-blind)
#2E3739 — rgb(46, 55, 57)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(107, 45%, 23%);
text
color: hsl(107, 45%, 23%);
border
border: 2px solid hsl(107, 45%, 23%);
gradient light
background: linear-gradient(to right, hsl(107, 45%, 43%), hsl(107, 45%, 23%));
gradient dark
background: linear-gradient(to right, hsl(107, 45%, 23%), hsl(107, 45%, 3%))
hex
background-color: #2C5520;
tailwind
bg-[hsl(107,45%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(107, 45%, 23%, 0.4);
css variable
--color-primary: hsl(107, 45%, 23%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(107, 45%, 23%)?
HEX: #2C5520 | RGB: rgb(44, 85, 32) | CMYK: 48%, 0%, 62%, 67% | HSV: 106°, 62%, 33%. Copy any format from the conversion table above.
What colors go well with #2C5520?
The complementary color is HSL(287, 45%, 23%). 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, 45%, 23%) in CSS?
As HSL: color: hsl(107, 45%, 23%); — As HEX: color: #2C5520; — As RGB: color: rgb(44, 85, 32); — Tailwind CSS: bg-[hsl(107,45%,23%)] — CSS variable: --color-primary: hsl(107, 45%, 23%);