HSL(40, 100%, 50%)

Vivid Orange — Orange color

Adjust Color

Color Information

Color Name

Vivid Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(40,100%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(40, 100%, 50%) color: hsl(40, 100%, 50%)
HEX #FFAA00 color: #FFAA00
RGB rgb(255, 170, 0) color: rgb(255, 170, 0)
CMYK cmyk(0%, 33%, 100%, 0%)
HSV hsv(40, 100%, 100%)
HWB hwb(40 0% 0%) color: hwb(40 0% 0%)
OKLCH oklch(0.8016 0.1705 73.27) color: oklch(0.8016 0.1705 73.27)
Lab lab(76.08 21.33 79.7) color: lab(76.08 21.33 79.7)
LCH lch(76.08 82.5 75.02) color: lch(76.08 82.5 75.02)

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 1.91:1
vs Black 11: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)

#DAD929 — rgb(218, 217, 41)

Deuteranopia (Green-blind)

#DFE633 — rgb(223, 230, 51)

Tritanopia (Blue-blind)

#FB4A51 — rgb(251, 74, 81)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(40, 100%, 50%);

text

color: hsl(40, 100%, 50%);

border

border: 2px solid hsl(40, 100%, 50%);

gradient light

background: linear-gradient(to right, hsl(40, 100%, 70%), hsl(40, 100%, 50%));

gradient dark

background: linear-gradient(to right, hsl(40, 100%, 50%), hsl(40, 100%, 30%))

hex

background-color: #FFAA00;

tailwind

bg-[hsl(40,100%,50%)]

box shadow

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

css variable

--color-primary: hsl(40, 100%, 50%);

Related Colors

Use Cases for Vivid 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(40, 100%, 50%)?

HEX: #FFAA00 | RGB: rgb(255, 170, 0) | CMYK: 0%, 33%, 100%, 0% | HSV: 40°, 100%, 100%. Copy any format from the conversion table above.

What colors go well with #FFAA00?

The complementary color is HSL(220, 100%, 50%). For a triadic harmony, use hues 40°, 160°, and 280°. For analogous combinations, try hues 10° and 70°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(40, 100%, 50%) in CSS?

As HSL: color: hsl(40, 100%, 50%); — As HEX: color: #FFAA00; — As RGB: color: rgb(255, 170, 0); — Tailwind CSS: bg-[hsl(40,100%,50%)] — CSS variable: --color-primary: hsl(40, 100%, 50%);