HSL(42, 60%, 45%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(42,60%,45%)]

Color Conversions

Format Value CSS Usage
HSL hsl(42, 60%, 45%) color: hsl(42, 60%, 45%)
HEX #B88E2E color: #B88E2E
RGB rgb(184, 142, 46) color: rgb(184, 142, 46)
CMYK cmyk(0%, 23%, 75%, 28%)
HSV hsv(42, 75%, 72%)
HWB hwb(42 18% 28%) color: hwb(42 18% 28%)
OKLCH oklch(0.6699 0.1205 83.98) color: oklch(0.6699 0.1205 83.98)
Lab lab(61.43 6.46 54.35) color: lab(61.43 6.46 54.35)
LCH lch(61.43 54.73 83.22) color: lch(61.43 54.73 83.22)

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 3.02:1
vs Black 6.95:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#A6A545 — rgb(166, 165, 69)

Deuteranopia (Green-blind)

#A8AB4B — rgb(168, 171, 75)

Tritanopia (Blue-blind)

#B6585C — rgb(182, 88, 92)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(42, 60%, 45%);

text

color: hsl(42, 60%, 45%);

border

border: 2px solid hsl(42, 60%, 45%);

gradient light

background: linear-gradient(to right, hsl(42, 60%, 65%), hsl(42, 60%, 45%));

gradient dark

background: linear-gradient(to right, hsl(42, 60%, 45%), hsl(42, 60%, 25%))

hex

background-color: #B88E2E;

tailwind

bg-[hsl(42,60%,45%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(42, 60%, 45%, 0.4);

css variable

--color-primary: hsl(42, 60%, 45%);

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(42, 60%, 45%)?

HEX: #B88E2E | RGB: rgb(184, 142, 46) | CMYK: 0%, 23%, 75%, 28% | HSV: 42°, 75%, 72%. Copy any format from the conversion table above.

What colors go well with #B88E2E?

The complementary color is HSL(222, 60%, 45%). For a triadic harmony, use hues 42°, 162°, and 282°. For analogous combinations, try hues 12° and 72°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(42, 60%, 45%) in CSS?

As HSL: color: hsl(42, 60%, 45%); — As HEX: color: #B88E2E; — As RGB: color: rgb(184, 142, 46); — Tailwind CSS: bg-[hsl(42,60%,45%)] — CSS variable: --color-primary: hsl(42, 60%, 45%);