HSL(42, 30%, 50%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(42,30%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(42, 30%, 50%) color: hsl(42, 30%, 50%)
HEX #A68F59 color: #A68F59
RGB rgb(166, 143, 89) color: rgb(166, 143, 89)
CMYK cmyk(0%, 14%, 46%, 35%)
HSV hsv(42, 46%, 65%)
HWB hwb(42 35% 35%) color: hwb(42 35% 35%)
OKLCH oklch(0.6584 0.0773 87.22) color: oklch(0.6584 0.0773 87.22)
Lab lab(60.31 1.16 31.84) color: lab(60.31 1.16 31.84)
LCH lch(60.31 31.86 87.91) color: lch(60.31 31.86 87.91)

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.14:1
vs Black 6.69: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)

#9C9C66 — rgb(156, 156, 102)

Deuteranopia (Green-blind)

#9D9F69 — rgb(157, 159, 105)

Tritanopia (Blue-blind)

#A57073 — rgb(165, 112, 115)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(42, 30%, 50%);

text

color: hsl(42, 30%, 50%);

border

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

gradient light

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

gradient dark

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

hex

background-color: #A68F59;

tailwind

bg-[hsl(42,30%,50%)]

box shadow

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

css variable

--color-primary: hsl(42, 30%, 50%);

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

HEX: #A68F59 | RGB: rgb(166, 143, 89) | CMYK: 0%, 14%, 46%, 35% | HSV: 42°, 46%, 65%. Copy any format from the conversion table above.

What colors go well with #A68F59?

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

As HSL: color: hsl(42, 30%, 50%); — As HEX: color: #A68F59; — As RGB: color: rgb(166, 143, 89); — Tailwind CSS: bg-[hsl(42,30%,50%)] — CSS variable: --color-primary: hsl(42, 30%, 50%);