HSL(22, 100%, 40%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(22, 100%, 40%) color: hsl(22, 100%, 40%)
HEX #CC4B00 color: #CC4B00
RGB rgb(204, 75, 0) color: rgb(204, 75, 0)
CMYK cmyk(0%, 63%, 100%, 20%)
HSV hsv(22, 100%, 80%)
HWB hwb(22 0% 20%) color: hwb(22 0% 20%)
OKLCH oklch(0.5817 0.1767 41.65) color: oklch(0.5817 0.1767 41.65)
Lab lab(49.34 48.74 59.84) color: lab(49.34 48.74 59.84)
LCH lch(49.34 77.18 50.84) color: lch(49.34 77.18 50.84)

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 4.59:1
vs Black 4.57:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: PASS ✓

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)

#949312 — rgb(148, 147, 18)

Deuteranopia (Green-blind)

#9CA517 — rgb(156, 165, 23)

Tritanopia (Blue-blind)

#C62024 — rgb(198, 32, 36)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(22, 100%, 60%), hsl(22, 100%, 40%));

gradient dark

background: linear-gradient(to right, hsl(22, 100%, 40%), hsl(22, 100%, 20%))

hex

background-color: #CC4B00;

tailwind

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

box shadow

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

css variable

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

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(22, 100%, 40%)?

HEX: #CC4B00 | RGB: rgb(204, 75, 0) | CMYK: 0%, 63%, 100%, 20% | HSV: 22°, 100%, 80%. Copy any format from the conversion table above.

What colors go well with #CC4B00?

The complementary color is HSL(202, 100%, 40%). For a triadic harmony, use hues 22°, 142°, and 262°. For analogous combinations, try hues 352° and 52°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(22, 100%, 40%); — As HEX: color: #CC4B00; — As RGB: color: rgb(204, 75, 0); — Tailwind CSS: bg-[hsl(22,100%,40%)] — CSS variable: --color-primary: hsl(22, 100%, 40%);