HSL(102, 68%, 15%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(102,68%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(102, 68%, 15%) | color: hsl(102, 68%, 15%) | |
| HEX | #1C400C | color: #1C400C | |
| RGB | rgb(28, 64, 12) | color: rgb(28, 64, 12) | |
| CMYK | cmyk(56%, 0%, 81%, 75%) | — | |
| HSV | hsv(102, 81%, 25%) | — | |
| HWB | hwb(102 5% 75%) | color: hwb(102 5% 75%) | |
| OKLCH | oklch(0.3323 0.0891 137.85) | color: oklch(0.3323 0.0891 137.85) | |
| Lab | lab(23.47 -23.89 26.41) | color: lab(23.47 -23.89 26.41) | |
| LCH | lch(23.47 35.61 132.13) | color: lch(23.47 35.61 132.13) |
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)
#2C2C19 — rgb(44, 44, 25)
Deuteranopia (Green-blind)
#2A271C — rgb(42, 39, 28)
Tritanopia (Blue-blind)
#1E2325 — rgb(30, 35, 37)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(102, 68%, 15%);
text
color: hsl(102, 68%, 15%);
border
border: 2px solid hsl(102, 68%, 15%);
gradient light
background: linear-gradient(to right, hsl(102, 68%, 35%), hsl(102, 68%, 15%));
gradient dark
background: linear-gradient(to right, hsl(102, 68%, 15%), hsl(102, 68%, 0%))
hex
background-color: #1C400C;
tailwind
bg-[hsl(102,68%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(102, 68%, 15%, 0.4);
css variable
--color-primary: hsl(102, 68%, 15%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(102, 68%, 15%)?
HEX: #1C400C | RGB: rgb(28, 64, 12) | CMYK: 56%, 0%, 81%, 75% | HSV: 102°, 81%, 25%. Copy any format from the conversion table above.
What colors go well with #1C400C?
The complementary color is HSL(282, 68%, 15%). 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, 68%, 15%) in CSS?
As HSL: color: hsl(102, 68%, 15%); — As HEX: color: #1C400C; — As RGB: color: rgb(28, 64, 12); — Tailwind CSS: bg-[hsl(102,68%,15%)] — CSS variable: --color-primary: hsl(102, 68%, 15%);