HSL(18, 30%, 17%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(18,30%,17%)]

Color Conversions

Format Value CSS Usage
HSL hsl(18, 30%, 17%) color: hsl(18, 30%, 17%)
HEX #38261E color: #38261E
RGB rgb(56, 38, 30) color: rgb(56, 38, 30)
CMYK cmyk(0%, 32%, 46%, 78%)
HSV hsv(18, 46%, 22%)
HWB hwb(18 12% 78%) color: hwb(18 12% 78%)
OKLCH oklch(0.288 0.0309 44.95) color: oklch(0.288 0.0309 44.95)
Lab lab(17.09 7.22 8.67) color: lab(17.09 7.22 8.67)
LCH lch(17.09 11.28 50.21) color: lch(17.09 11.28 50.21)

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 14.34:1
vs Black 1.46: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)

#303020 — rgb(48, 48, 32)

Deuteranopia (Green-blind)

#313320 — rgb(49, 51, 32)

Tritanopia (Blue-blind)

#372122 — rgb(55, 33, 34)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(18, 30%, 17%);

text

color: hsl(18, 30%, 17%);

border

border: 2px solid hsl(18, 30%, 17%);

gradient light

background: linear-gradient(to right, hsl(18, 30%, 37%), hsl(18, 30%, 17%));

gradient dark

background: linear-gradient(to right, hsl(18, 30%, 17%), hsl(18, 30%, 0%))

hex

background-color: #38261E;

tailwind

bg-[hsl(18,30%,17%)]

box shadow

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

css variable

--color-primary: hsl(18, 30%, 17%);

Related Colors

Use Cases for 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(18, 30%, 17%)?

HEX: #38261E | RGB: rgb(56, 38, 30) | CMYK: 0%, 32%, 46%, 78% | HSV: 18°, 46%, 22%. Copy any format from the conversion table above.

What colors go well with #38261E?

The complementary color is HSL(198, 30%, 17%). For a triadic harmony, use hues 18°, 138°, and 258°. For analogous combinations, try hues 348° and 48°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(18, 30%, 17%) in CSS?

As HSL: color: hsl(18, 30%, 17%); — As HEX: color: #38261E; — As RGB: color: rgb(56, 38, 30); — Tailwind CSS: bg-[hsl(18,30%,17%)] — CSS variable: --color-primary: hsl(18, 30%, 17%);