HSL(31, 52%, 31%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(31,52%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(31, 52%, 31%) color: hsl(31, 52%, 31%)
HEX #785026 color: #785026
RGB rgb(120, 80, 38) color: rgb(120, 80, 38)
CMYK cmyk(0%, 33%, 68%, 53%)
HSV hsv(31, 68%, 47%)
HWB hwb(31 15% 53%) color: hwb(31 15% 53%)
OKLCH oklch(0.4667 0.0785 65.02) color: oklch(0.4667 0.0785 65.02)
Lab lab(37.61 12.32 30.96) color: lab(37.61 12.32 30.96)
LCH lch(37.61 33.32 68.3) color: lch(37.61 33.32 68.3)

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 7.06:1
vs Black 2.97:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#676630 — rgb(103, 102, 48)

Deuteranopia (Green-blind)

#696C33 — rgb(105, 108, 51)

Tritanopia (Blue-blind)

#76383A — rgb(118, 56, 58)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(31, 52%, 31%);

text

color: hsl(31, 52%, 31%);

border

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

gradient light

background: linear-gradient(to right, hsl(31, 52%, 51%), hsl(31, 52%, 31%));

gradient dark

background: linear-gradient(to right, hsl(31, 52%, 31%), hsl(31, 52%, 11%))

hex

background-color: #785026;

tailwind

bg-[hsl(31,52%,31%)]

box shadow

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

css variable

--color-primary: hsl(31, 52%, 31%);

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, 52%, 31%)?

HEX: #785026 | RGB: rgb(120, 80, 38) | CMYK: 0%, 33%, 68%, 53% | HSV: 31°, 68%, 47%. Copy any format from the conversion table above.

What colors go well with #785026?

The complementary color is HSL(211, 52%, 31%). 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, 52%, 31%) in CSS?

As HSL: color: hsl(31, 52%, 31%); — As HEX: color: #785026; — As RGB: color: rgb(120, 80, 38); — Tailwind CSS: bg-[hsl(31,52%,31%)] — CSS variable: --color-primary: hsl(31, 52%, 31%);