HSL(28, 40%, 34%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(28,40%,34%)]

Color Conversions

Format Value CSS Usage
HSL hsl(28, 40%, 34%) color: hsl(28, 40%, 34%)
HEX #795434 color: #795434
RGB rgb(121, 84, 52) color: rgb(121, 84, 52)
CMYK cmyk(0%, 31%, 57%, 53%)
HSV hsv(28, 57%, 47%)
HWB hwb(28 20% 53%) color: hwb(28 20% 53%)
OKLCH oklch(0.4783 0.0677 60.98) color: oklch(0.4783 0.0677 60.98)
Lab lab(38.99 11.52 24.71) color: lab(38.99 11.52 24.71)
LCH lch(38.99 27.26 65) color: lch(38.99 27.26 65)

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.71:1
vs Black 3.13: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)

#69693C — rgb(105, 105, 60)

Deuteranopia (Green-blind)

#6B6E3E — rgb(107, 110, 62)

Tritanopia (Blue-blind)

#774243 — rgb(119, 66, 67)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(28, 40%, 34%);

text

color: hsl(28, 40%, 34%);

border

border: 2px solid hsl(28, 40%, 34%);

gradient light

background: linear-gradient(to right, hsl(28, 40%, 54%), hsl(28, 40%, 34%));

gradient dark

background: linear-gradient(to right, hsl(28, 40%, 34%), hsl(28, 40%, 14%))

hex

background-color: #795434;

tailwind

bg-[hsl(28,40%,34%)]

box shadow

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

css variable

--color-primary: hsl(28, 40%, 34%);

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(28, 40%, 34%)?

HEX: #795434 | RGB: rgb(121, 84, 52) | CMYK: 0%, 31%, 57%, 53% | HSV: 28°, 57%, 47%. Copy any format from the conversion table above.

What colors go well with #795434?

The complementary color is HSL(208, 40%, 34%). For a triadic harmony, use hues 28°, 148°, and 268°. For analogous combinations, try hues 358° and 58°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(28, 40%, 34%) in CSS?

As HSL: color: hsl(28, 40%, 34%); — As HEX: color: #795434; — As RGB: color: rgb(121, 84, 52); — Tailwind CSS: bg-[hsl(28,40%,34%)] — CSS variable: --color-primary: hsl(28, 40%, 34%);