HSL(40, 30%, 7%)

Very Dark Orange — Orange color

Adjust Color

Color Information

Color Name

Very Dark Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(40,30%,7%)]

Color Conversions

Format Value CSS Usage
HSL hsl(40, 30%, 7%) color: hsl(40, 30%, 7%)
HEX #17140C color: #17140C
RGB rgb(23, 20, 12) color: rgb(23, 20, 12)
CMYK cmyk(0%, 13%, 48%, 91%)
HSV hsv(44, 48%, 9%)
HWB hwb(44 5% 91%) color: hwb(44 5% 91%)
OKLCH oklch(0.1921 0.0159 89.89) color: oklch(0.1921 0.0159 89.89)
Lab lab(6.4 -0.17 4.62) color: lab(6.4 -0.17 4.62)
LCH lch(6.4 4.62 92.11) color: lch(6.4 4.62 92.11)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 18.39:1
vs Black 1.14:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#16160E — rgb(22, 22, 14)

Deuteranopia (Green-blind)

#16160E — rgb(22, 22, 14)

Tritanopia (Blue-blind)

#170F10 — rgb(23, 15, 16)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(40, 30%, 7%);

text

color: hsl(40, 30%, 7%);

border

border: 2px solid hsl(40, 30%, 7%);

gradient light

background: linear-gradient(to right, hsl(40, 30%, 27%), hsl(40, 30%, 7%));

gradient dark

background: linear-gradient(to right, hsl(40, 30%, 7%), hsl(40, 30%, 0%))

hex

background-color: #17140C;

tailwind

bg-[hsl(40,30%,7%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(40, 30%, 7%, 0.4);

css variable

--color-primary: hsl(40, 30%, 7%);

Related Colors

Use Cases for Very Dark Orange

E-commerce CTAs Food & beverage branding Energetic UI elements Sale tags Sunset themes

Frequently Asked Questions

What are all the color codes for HSL(40, 30%, 7%)?

HEX: #17140C | RGB: rgb(23, 20, 12) | CMYK: 0%, 13%, 48%, 91% | HSV: 44°, 48%, 9%. Copy any format from the conversion table above.

What colors go well with #17140C?

The complementary color is HSL(220, 30%, 7%). For a triadic harmony, use hues 40°, 160°, and 280°. For analogous combinations, try hues 10° and 70°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(40, 30%, 7%) in CSS?

As HSL: color: hsl(40, 30%, 7%); — As HEX: color: #17140C; — As RGB: color: rgb(23, 20, 12); — Tailwind CSS: bg-[hsl(40,30%,7%)] — CSS variable: --color-primary: hsl(40, 30%, 7%);