HSL(123, 100%, 17%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(123,100%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(123, 100%, 17%) | color: hsl(123, 100%, 17%) | |
| HEX | #005704 | color: #005704 | |
| RGB | rgb(0, 87, 4) | color: rgb(0, 87, 4) | |
| CMYK | cmyk(100%, 0%, 95%, 66%) | — | |
| HSV | hsv(123, 100%, 34%) | — | |
| HWB | hwb(123 0% 66%) | color: hwb(123 0% 66%) | |
| OKLCH | oklch(0.396 0.1327 142.96) | color: oklch(0.396 0.1327 142.96) | |
| Lab | lab(31.4 -39.1 36.6) | color: lab(31.4 -39.1 36.6) | |
| LCH | lch(31.4 53.56 136.89) | color: lch(31.4 53.56 136.89) |
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)
#262618 — rgb(38, 38, 24)
Deuteranopia (Green-blind)
#211A1D — rgb(33, 26, 29)
Tritanopia (Blue-blind)
#04282B — rgb(4, 40, 43)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(123, 100%, 17%);
text
color: hsl(123, 100%, 17%);
border
border: 2px solid hsl(123, 100%, 17%);
gradient light
background: linear-gradient(to right, hsl(123, 100%, 37%), hsl(123, 100%, 17%));
gradient dark
background: linear-gradient(to right, hsl(123, 100%, 17%), hsl(123, 100%, 0%))
hex
background-color: #005704;
tailwind
bg-[hsl(123,100%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(123, 100%, 17%, 0.4);
css variable
--color-primary: hsl(123, 100%, 17%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(123, 100%, 17%)?
HEX: #005704 | RGB: rgb(0, 87, 4) | CMYK: 100%, 0%, 95%, 66% | HSV: 123°, 100%, 34%. Copy any format from the conversion table above.
What colors go well with #005704?
The complementary color is HSL(303, 100%, 17%). For a triadic harmony, use hues 123°, 243°, and 3°. For analogous combinations, try hues 93° and 153°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(123, 100%, 17%) in CSS?
As HSL: color: hsl(123, 100%, 17%); — As HEX: color: #005704; — As RGB: color: rgb(0, 87, 4); — Tailwind CSS: bg-[hsl(123,100%,17%)] — CSS variable: --color-primary: hsl(123, 100%, 17%);