HSL(115, 90%, 21%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(115,90%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(115, 90%, 21%) | color: hsl(115, 90%, 21%) | |
| HEX | #0D6605 | color: #0D6605 | |
| RGB | rgb(13, 102, 5) | color: rgb(13, 102, 5) | |
| CMYK | cmyk(87%, 0%, 95%, 60%) | — | |
| HSV | hsv(115, 95%, 40%) | — | |
| HWB | hwb(115 2% 60%) | color: hwb(115 2% 60%) | |
| OKLCH | oklch(0.4441 0.146 142.01) | color: oklch(0.4441 0.146 142.01) | |
| Lab | lab(37.11 -42.28 41.24) | color: lab(37.11 -42.28 41.24) | |
| LCH | lch(37.11 59.06 135.71) | color: lch(37.11 59.06 135.71) |
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)
#34341C — rgb(52, 52, 28)
Deuteranopia (Green-blind)
#2E2822 — rgb(46, 40, 34)
Tritanopia (Blue-blind)
#112F33 — rgb(17, 47, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(115, 90%, 21%);
text
color: hsl(115, 90%, 21%);
border
border: 2px solid hsl(115, 90%, 21%);
gradient light
background: linear-gradient(to right, hsl(115, 90%, 41%), hsl(115, 90%, 21%));
gradient dark
background: linear-gradient(to right, hsl(115, 90%, 21%), hsl(115, 90%, 1%))
hex
background-color: #0D6605;
tailwind
bg-[hsl(115,90%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(115, 90%, 21%, 0.4);
css variable
--color-primary: hsl(115, 90%, 21%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(115, 90%, 21%)?
HEX: #0D6605 | RGB: rgb(13, 102, 5) | CMYK: 87%, 0%, 95%, 60% | HSV: 115°, 95%, 40%. Copy any format from the conversion table above.
What colors go well with #0D6605?
The complementary color is HSL(295, 90%, 21%). For a triadic harmony, use hues 115°, 235°, and 355°. For analogous combinations, try hues 85° and 145°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(115, 90%, 21%) in CSS?
As HSL: color: hsl(115, 90%, 21%); — As HEX: color: #0D6605; — As RGB: color: rgb(13, 102, 5); — Tailwind CSS: bg-[hsl(115,90%,21%)] — CSS variable: --color-primary: hsl(115, 90%, 21%);