HSL(25, 90%, 21%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(25,90%,21%)]

Color Conversions

Format Value CSS Usage
HSL hsl(25, 90%, 21%) color: hsl(25, 90%, 21%)
HEX #662E05 color: #662E05
RGB rgb(102, 46, 5) color: rgb(102, 46, 5)
CMYK cmyk(0%, 55%, 95%, 60%)
HSV hsv(25, 95%, 40%)
HWB hwb(25 2% 60%) color: hwb(25 2% 60%)
OKLCH oklch(0.3716 0.094 50.02) color: oklch(0.3716 0.094 50.02)
Lab lab(26.13 22.71 34.66) color: lab(26.13 22.71 34.66)
LCH lch(26.13 41.44 56.77) color: lch(26.13 41.44 56.77)

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 10.73:1
vs Black 1.96: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)

#4E4D0F — rgb(78, 77, 15)

Deuteranopia (Green-blind)

#515511 — rgb(81, 85, 17)

Tritanopia (Blue-blind)

#631718 — rgb(99, 23, 24)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(25, 90%, 21%);

text

color: hsl(25, 90%, 21%);

border

border: 2px solid hsl(25, 90%, 21%);

gradient light

background: linear-gradient(to right, hsl(25, 90%, 41%), hsl(25, 90%, 21%));

gradient dark

background: linear-gradient(to right, hsl(25, 90%, 21%), hsl(25, 90%, 1%))

hex

background-color: #662E05;

tailwind

bg-[hsl(25,90%,21%)]

box shadow

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

css variable

--color-primary: hsl(25, 90%, 21%);

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(25, 90%, 21%)?

HEX: #662E05 | RGB: rgb(102, 46, 5) | CMYK: 0%, 55%, 95%, 60% | HSV: 25°, 95%, 40%. Copy any format from the conversion table above.

What colors go well with #662E05?

The complementary color is HSL(205, 90%, 21%). For a triadic harmony, use hues 25°, 145°, and 265°. For analogous combinations, try hues 355° and 55°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(25, 90%, 21%) in CSS?

As HSL: color: hsl(25, 90%, 21%); — As HEX: color: #662E05; — As RGB: color: rgb(102, 46, 5); — Tailwind CSS: bg-[hsl(25,90%,21%)] — CSS variable: --color-primary: hsl(25, 90%, 21%);