HSL(39, 63%, 42%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(39,63%,42%)]

Color Conversions

Format Value CSS Usage
HSL hsl(39, 63%, 42%) color: hsl(39, 63%, 42%)
HEX #AF7F28 color: #AF7F28
RGB rgb(175, 127, 40) color: rgb(175, 127, 40)
CMYK cmyk(0%, 27%, 77%, 31%)
HSV hsv(39, 77%, 69%)
HWB hwb(39 16% 31%) color: hwb(39 16% 31%)
OKLCH oklch(0.6291 0.1159 77.99) color: oklch(0.6291 0.1159 77.99)
Lab lab(56.53 10.48 51.69) color: lab(56.53 10.48 51.69)
LCH lch(56.53 52.74 78.54) color: lch(56.53 52.74 78.54)

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.57:1
vs Black 5.89: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)

#9A9A3D — rgb(154, 154, 61)

Deuteranopia (Green-blind)

#9DA142 — rgb(157, 161, 66)

Tritanopia (Blue-blind)

#AD4E51 — rgb(173, 78, 81)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(39, 63%, 42%);

text

color: hsl(39, 63%, 42%);

border

border: 2px solid hsl(39, 63%, 42%);

gradient light

background: linear-gradient(to right, hsl(39, 63%, 62%), hsl(39, 63%, 42%));

gradient dark

background: linear-gradient(to right, hsl(39, 63%, 42%), hsl(39, 63%, 22%))

hex

background-color: #AF7F28;

tailwind

bg-[hsl(39,63%,42%)]

box shadow

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

css variable

--color-primary: hsl(39, 63%, 42%);

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(39, 63%, 42%)?

HEX: #AF7F28 | RGB: rgb(175, 127, 40) | CMYK: 0%, 27%, 77%, 31% | HSV: 39°, 77%, 69%. Copy any format from the conversion table above.

What colors go well with #AF7F28?

The complementary color is HSL(219, 63%, 42%). For a triadic harmony, use hues 39°, 159°, and 279°. For analogous combinations, try hues 9° and 69°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(39, 63%, 42%) in CSS?

As HSL: color: hsl(39, 63%, 42%); — As HEX: color: #AF7F28; — As RGB: color: rgb(175, 127, 40); — Tailwind CSS: bg-[hsl(39,63%,42%)] — CSS variable: --color-primary: hsl(39, 63%, 42%);