HSL(40, 40%, 30%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(40, 40%, 30%) color: hsl(40, 40%, 30%)
HEX #6B572E color: #6B572E
RGB rgb(107, 87, 46) color: rgb(107, 87, 46)
CMYK cmyk(0%, 19%, 57%, 58%)
HSV hsv(40, 57%, 42%)
HWB hwb(40 18% 58%) color: hwb(40 18% 58%)
OKLCH oklch(0.4673 0.0637 83.91) color: oklch(0.4673 0.0637 83.91)
Lab lab(38.09 2.61 26.69) color: lab(38.09 2.61 26.69)
LCH lch(38.09 26.82 84.41) color: lch(38.09 26.82 84.41)

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 6.94:1
vs Black 3.03:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#626238 — rgb(98, 98, 56)

Deuteranopia (Green-blind)

#64653A — rgb(100, 101, 58)

Tritanopia (Blue-blind)

#6A4041 — rgb(106, 64, 65)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #6B572E;

tailwind

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

box shadow

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

css variable

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

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(40, 40%, 30%)?

HEX: #6B572E | RGB: rgb(107, 87, 46) | CMYK: 0%, 19%, 57%, 58% | HSV: 40°, 57%, 42%. Copy any format from the conversion table above.

What colors go well with #6B572E?

The complementary color is HSL(220, 40%, 30%). 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, 40%, 30%) in CSS?

As HSL: color: hsl(40, 40%, 30%); — As HEX: color: #6B572E; — As RGB: color: rgb(107, 87, 46); — Tailwind CSS: bg-[hsl(40,40%,30%)] — CSS variable: --color-primary: hsl(40, 40%, 30%);