HSL(100, 70%, 23%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(100,70%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(100, 70%, 23%) | color: hsl(100, 70%, 23%) | |
| HEX | #2D6412 | color: #2D6412 | |
| RGB | rgb(45, 100, 18) | color: rgb(45, 100, 18) | |
| CMYK | cmyk(55%, 0%, 82%, 61%) | — | |
| HSV | hsv(100, 82%, 39%) | — | |
| HWB | hwb(100 7% 61%) | color: hwb(100 7% 61%) | |
| OKLCH | oklch(0.4486 0.1257 137.73) | color: oklch(0.4486 0.1257 137.73) | |
| Lab | lab(37.33 -33.59 37.93) | color: lab(37.33 -33.59 37.93) | |
| LCH | lch(37.33 50.67 131.53) | color: lch(37.33 50.67 131.53) |
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)
#454526 — rgb(69, 69, 38)
Deuteranopia (Green-blind)
#423E2B — rgb(66, 62, 43)
Tritanopia (Blue-blind)
#303639 — rgb(48, 54, 57)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(100, 70%, 23%);
text
color: hsl(100, 70%, 23%);
border
border: 2px solid hsl(100, 70%, 23%);
gradient light
background: linear-gradient(to right, hsl(100, 70%, 43%), hsl(100, 70%, 23%));
gradient dark
background: linear-gradient(to right, hsl(100, 70%, 23%), hsl(100, 70%, 3%))
hex
background-color: #2D6412;
tailwind
bg-[hsl(100,70%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(100, 70%, 23%, 0.4);
css variable
--color-primary: hsl(100, 70%, 23%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(100, 70%, 23%)?
HEX: #2D6412 | RGB: rgb(45, 100, 18) | CMYK: 55%, 0%, 82%, 61% | HSV: 100°, 82%, 39%. Copy any format from the conversion table above.
What colors go well with #2D6412?
The complementary color is HSL(280, 70%, 23%). For a triadic harmony, use hues 100°, 220°, and 340°. For analogous combinations, try hues 70° and 130°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(100, 70%, 23%) in CSS?
As HSL: color: hsl(100, 70%, 23%); — As HEX: color: #2D6412; — As RGB: color: rgb(45, 100, 18); — Tailwind CSS: bg-[hsl(100,70%,23%)] — CSS variable: --color-primary: hsl(100, 70%, 23%);