HSL(42, 51%, 25%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(42,51%,25%)]

Color Conversions

Format Value CSS Usage
HSL hsl(42, 51%, 25%) color: hsl(42, 51%, 25%)
HEX #604D1F color: #604D1F
RGB rgb(96, 77, 31) color: rgb(96, 77, 31)
CMYK cmyk(0%, 20%, 68%, 62%)
HSV hsv(42, 68%, 38%)
HWB hwb(42 12% 62%) color: hwb(42 12% 62%)
OKLCH oklch(0.4298 0.0681 86.67) color: oklch(0.4298 0.0681 86.67)
Lab lab(33.76 2.1 29.62) color: lab(33.76 2.1 29.62)
LCH lch(33.76 29.69 85.94) color: lch(33.76 29.69 85.94)

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 8.14:1
vs Black 2.58: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)

#58582A — rgb(88, 88, 42)

Deuteranopia (Green-blind)

#595A2D — rgb(89, 90, 45)

Tritanopia (Blue-blind)

#5F3335 — rgb(95, 51, 53)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(42, 51%, 25%);

text

color: hsl(42, 51%, 25%);

border

border: 2px solid hsl(42, 51%, 25%);

gradient light

background: linear-gradient(to right, hsl(42, 51%, 45%), hsl(42, 51%, 25%));

gradient dark

background: linear-gradient(to right, hsl(42, 51%, 25%), hsl(42, 51%, 5%))

hex

background-color: #604D1F;

tailwind

bg-[hsl(42,51%,25%)]

box shadow

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

css variable

--color-primary: hsl(42, 51%, 25%);

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, 51%, 25%)?

HEX: #604D1F | RGB: rgb(96, 77, 31) | CMYK: 0%, 20%, 68%, 62% | HSV: 42°, 68%, 38%. Copy any format from the conversion table above.

What colors go well with #604D1F?

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

As HSL: color: hsl(42, 51%, 25%); — As HEX: color: #604D1F; — As RGB: color: rgb(96, 77, 31); — Tailwind CSS: bg-[hsl(42,51%,25%)] — CSS variable: --color-primary: hsl(42, 51%, 25%);