HSL(138, 49%, 6%)
Very Dark Green — Green color
Adjust Color
Color Information
Color Name
Very Dark Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(138,49%,6%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(138, 49%, 6%) | color: hsl(138, 49%, 6%) | |
| HEX | #08170C | color: #08170C | |
| RGB | rgb(8, 23, 12) | color: rgb(8, 23, 12) | |
| CMYK | cmyk(65%, 0%, 48%, 91%) | — | |
| HSV | hsv(136, 65%, 9%) | — | |
| HWB | hwb(136 3% 91%) | color: hwb(136 3% 91%) | |
| OKLCH | oklch(0.187 0.0307 151.28) | color: oklch(0.187 0.0307 151.28) | |
| Lab | lab(6.24 -7.53 4.24) | color: lab(6.24 -7.53 4.24) | |
| LCH | lch(6.24 8.64 150.62) | color: lch(6.24 8.64 150.62) |
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)
#0E0F0F — rgb(14, 15, 15)
Deuteranopia (Green-blind)
#0E0D0F — rgb(14, 13, 15)
Tritanopia (Blue-blind)
#091111 — rgb(9, 17, 17)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(138, 49%, 6%);
text
color: hsl(138, 49%, 6%);
border
border: 2px solid hsl(138, 49%, 6%);
gradient light
background: linear-gradient(to right, hsl(138, 49%, 26%), hsl(138, 49%, 6%));
gradient dark
background: linear-gradient(to right, hsl(138, 49%, 6%), hsl(138, 49%, 0%))
hex
background-color: #08170C;
tailwind
bg-[hsl(138,49%,6%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(138, 49%, 6%, 0.4);
css variable
--color-primary: hsl(138, 49%, 6%);
Related Colors
Use Cases for Very Dark Green
Frequently Asked Questions
What are all the color codes for HSL(138, 49%, 6%)?
HEX: #08170C | RGB: rgb(8, 23, 12) | CMYK: 65%, 0%, 48%, 91% | HSV: 136°, 65%, 9%. Copy any format from the conversion table above.
What colors go well with #08170C?
The complementary color is HSL(318, 49%, 6%). For a triadic harmony, use hues 138°, 258°, and 18°. For analogous combinations, try hues 108° and 168°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(138, 49%, 6%) in CSS?
As HSL: color: hsl(138, 49%, 6%); — As HEX: color: #08170C; — As RGB: color: rgb(8, 23, 12); — Tailwind CSS: bg-[hsl(138,49%,6%)] — CSS variable: --color-primary: hsl(138, 49%, 6%);