HSL(30, 40%, 50%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(30, 40%, 50%) color: hsl(30, 40%, 50%)
HEX #B3804D color: #B3804D
RGB rgb(179, 128, 77) color: rgb(179, 128, 77)
CMYK cmyk(0%, 28%, 57%, 30%)
HSV hsv(30, 57%, 70%)
HWB hwb(30 30% 30%) color: hwb(30 30% 30%)
OKLCH oklch(0.6398 0.0924 64.86) color: oklch(0.6398 0.0924 64.86)
Lab lab(57.62 13.99 35.22) color: lab(57.62 13.99 35.22)
LCH lch(57.62 37.9 68.34) color: lch(57.62 37.9 68.34)

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 3.44:1
vs Black 6.11:1

AA Normal (4.5:1)

on White: FAIL ✗ 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: black

Color Blindness Simulation

Protanopia (Red-blind)

#9D9C59 — rgb(157, 156, 89)

Deuteranopia (Green-blind)

#A0A45C — rgb(160, 164, 92)

Tritanopia (Blue-blind)

#B06365 — rgb(176, 99, 101)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #B3804D;

tailwind

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

box shadow

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

css variable

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

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(30, 40%, 50%)?

HEX: #B3804D | RGB: rgb(179, 128, 77) | CMYK: 0%, 28%, 57%, 30% | HSV: 30°, 57%, 70%. Copy any format from the conversion table above.

What colors go well with #B3804D?

The complementary color is HSL(210, 40%, 50%). For a triadic harmony, use hues 30°, 150°, and 270°. For analogous combinations, try hues 0° and 60°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(30, 40%, 50%); — As HEX: color: #B3804D; — As RGB: color: rgb(179, 128, 77); — Tailwind CSS: bg-[hsl(30,40%,50%)] — CSS variable: --color-primary: hsl(30, 40%, 50%);