HSL(42, 64%, 59%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(42,64%,59%)]

Color Conversions

Format Value CSS Usage
HSL hsl(42, 64%, 59%) color: hsl(42, 64%, 59%)
HEX #D9B154 color: #D9B154
RGB rgb(217, 177, 84) color: rgb(217, 177, 84)
CMYK cmyk(0%, 18%, 61%, 15%)
HSV hsv(42, 61%, 85%)
HWB hwb(42 33% 15%) color: hwb(42 33% 15%)
OKLCH oklch(0.7782 0.1204 85.98) color: oklch(0.7782 0.1204 85.98)
Lab lab(74.09 4.09 52.01) color: lab(74.09 4.09 52.01)
LCH lch(74.09 52.17 85.5) color: lch(74.09 52.17 85.5)

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.03:1
vs Black 10.37: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)

#C8C76B — rgb(200, 199, 107)

Deuteranopia (Green-blind)

#CACD70 — rgb(202, 205, 112)

Tritanopia (Blue-blind)

#D77C80 — rgb(215, 124, 128)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(42, 64%, 59%);

text

color: hsl(42, 64%, 59%);

border

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

gradient light

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

gradient dark

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

hex

background-color: #D9B154;

tailwind

bg-[hsl(42,64%,59%)]

box shadow

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

css variable

--color-primary: hsl(42, 64%, 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(42, 64%, 59%)?

HEX: #D9B154 | RGB: rgb(217, 177, 84) | CMYK: 0%, 18%, 61%, 15% | HSV: 42°, 61%, 85%. Copy any format from the conversion table above.

What colors go well with #D9B154?

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

As HSL: color: hsl(42, 64%, 59%); — As HEX: color: #D9B154; — As RGB: color: rgb(217, 177, 84); — Tailwind CSS: bg-[hsl(42,64%,59%)] — CSS variable: --color-primary: hsl(42, 64%, 59%);