HSL(31, 70%, 54%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(31,70%,54%)]

Color Conversions

Format Value CSS Usage
HSL hsl(31, 70%, 54%) color: hsl(31, 70%, 54%)
HEX #DC8C38 color: #DC8C38
RGB rgb(220, 140, 56) color: rgb(220, 140, 56)
CMYK cmyk(0%, 36%, 75%, 14%)
HSV hsv(31, 75%, 86%)
HWB hwb(31 22% 14%) color: hwb(31 22% 14%)
OKLCH oklch(0.7084 0.1369 63.19) color: oklch(0.7084 0.1369 63.19)
Lab lab(65.17 23.61 55.26) color: lab(65.17 23.61 55.26)
LCH lch(65.17 60.09 66.87) color: lch(65.17 60.09 66.87)

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.67:1
vs Black 7.85: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)

#B9B94C — rgb(185, 185, 76)

Deuteranopia (Green-blind)

#BEC451 — rgb(190, 196, 81)

Tritanopia (Blue-blind)

#D85C60 — rgb(216, 92, 96)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(31, 70%, 54%);

text

color: hsl(31, 70%, 54%);

border

border: 2px solid hsl(31, 70%, 54%);

gradient light

background: linear-gradient(to right, hsl(31, 70%, 74%), hsl(31, 70%, 54%));

gradient dark

background: linear-gradient(to right, hsl(31, 70%, 54%), hsl(31, 70%, 34%))

hex

background-color: #DC8C38;

tailwind

bg-[hsl(31,70%,54%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(31, 70%, 54%, 0.4);

css variable

--color-primary: hsl(31, 70%, 54%);

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(31, 70%, 54%)?

HEX: #DC8C38 | RGB: rgb(220, 140, 56) | CMYK: 0%, 36%, 75%, 14% | HSV: 31°, 75%, 86%. Copy any format from the conversion table above.

What colors go well with #DC8C38?

The complementary color is HSL(211, 70%, 54%). For a triadic harmony, use hues 31°, 151°, and 271°. For analogous combinations, try hues 1° and 61°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(31, 70%, 54%) in CSS?

As HSL: color: hsl(31, 70%, 54%); — As HEX: color: #DC8C38; — As RGB: color: rgb(220, 140, 56); — Tailwind CSS: bg-[hsl(31,70%,54%)] — CSS variable: --color-primary: hsl(31, 70%, 54%);