HSL(42, 100%, 24%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(42,100%,24%)]

Color Conversions

Format Value CSS Usage
HSL hsl(42, 100%, 24%) color: hsl(42, 100%, 24%)
HEX #7A5600 color: #7A5600
RGB rgb(122, 86, 0) color: rgb(122, 86, 0)
CMYK cmyk(0%, 30%, 100%, 52%)
HSV hsv(42, 100%, 48%)
HWB hwb(42 0% 52%) color: hwb(42 0% 52%)
OKLCH oklch(0.4791 0.0991 80.42) color: oklch(0.4791 0.0991 80.42)
Lab lab(39.23 8.19 47.44) color: lab(39.23 8.19 47.44)
LCH lch(39.23 48.14 80.21) color: lch(39.23 48.14 80.21)

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 6.65:1
vs Black 3.16:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#6A6A15 — rgb(106, 106, 21)

Deuteranopia (Green-blind)

#6D6F1A — rgb(109, 111, 26)

Tritanopia (Blue-blind)

#782529 — rgb(120, 37, 41)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(42, 100%, 24%);

text

color: hsl(42, 100%, 24%);

border

border: 2px solid hsl(42, 100%, 24%);

gradient light

background: linear-gradient(to right, hsl(42, 100%, 44%), hsl(42, 100%, 24%));

gradient dark

background: linear-gradient(to right, hsl(42, 100%, 24%), hsl(42, 100%, 4%))

hex

background-color: #7A5600;

tailwind

bg-[hsl(42,100%,24%)]

box shadow

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

css variable

--color-primary: hsl(42, 100%, 24%);

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, 100%, 24%)?

HEX: #7A5600 | RGB: rgb(122, 86, 0) | CMYK: 0%, 30%, 100%, 52% | HSV: 42°, 100%, 48%. Copy any format from the conversion table above.

What colors go well with #7A5600?

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

As HSL: color: hsl(42, 100%, 24%); — As HEX: color: #7A5600; — As RGB: color: rgb(122, 86, 0); — Tailwind CSS: bg-[hsl(42,100%,24%)] — CSS variable: --color-primary: hsl(42, 100%, 24%);