HSL(40, 40%, 59%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(40, 40%, 59%) color: hsl(40, 40%, 59%)
HEX #C0A46D color: #C0A46D
RGB rgb(192, 164, 109) color: rgb(192, 164, 109)
CMYK cmyk(0%, 15%, 43%, 25%)
HSV hsv(40, 43%, 75%)
HWB hwb(40 43% 25%) color: hwb(40 43% 25%)
OKLCH oklch(0.7308 0.0796 83.62) color: oklch(0.7308 0.0796 83.62)
Lab lab(68.65 2.73 32.31) color: lab(68.65 2.73 32.31)
LCH lch(68.65 32.43 85.17) color: lch(68.65 32.43 85.17)

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 2.39:1
vs Black 8.77:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#B4B47A — rgb(180, 180, 122)

Deuteranopia (Green-blind)

#B6B87E — rgb(182, 184, 126)

Tritanopia (Blue-blind)

#BF8587 — rgb(191, 133, 135)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(40, 40%, 79%), hsl(40, 40%, 59%));

gradient dark

background: linear-gradient(to right, hsl(40, 40%, 59%), hsl(40, 40%, 39%))

hex

background-color: #C0A46D;

tailwind

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

box shadow

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

css variable

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

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%, 59%)?

HEX: #C0A46D | RGB: rgb(192, 164, 109) | CMYK: 0%, 15%, 43%, 25% | HSV: 40°, 43%, 75%. Copy any format from the conversion table above.

What colors go well with #C0A46D?

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

As HSL: color: hsl(40, 40%, 59%); — As HEX: color: #C0A46D; — As RGB: color: rgb(192, 164, 109); — Tailwind CSS: bg-[hsl(40,40%,59%)] — CSS variable: --color-primary: hsl(40, 40%, 59%);