HSL(40, 50%, 32%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(40,50%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(40, 50%, 32%) | color: hsl(40, 50%, 32%) | |
| HEX | #7A5F29 | color: #7A5F29 | |
| RGB | rgb(122, 95, 41) | color: rgb(122, 95, 41) | |
| CMYK | cmyk(0%, 22%, 66%, 52%) | — | |
| HSV | hsv(40, 66%, 48%) | — | |
| HWB | hwb(40 16% 52%) | color: hwb(40 16% 52%) | |
| OKLCH | oklch(0.5015 0.0795 82.42) | color: oklch(0.5015 0.0795 82.42) | |
| Lab | lab(41.97 4.51 34.32) | color: lab(41.97 4.51 34.32) | |
| LCH | lch(41.97 34.62 82.51) | color: lch(41.97 34.62 82.51) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#6E6E36 — rgb(110, 110, 54)
Deuteranopia (Green-blind)
#707239 — rgb(112, 114, 57)
Tritanopia (Blue-blind)
#794043 — rgb(121, 64, 67)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(40, 50%, 32%);
text
color: hsl(40, 50%, 32%);
border
border: 2px solid hsl(40, 50%, 32%);
gradient light
background: linear-gradient(to right, hsl(40, 50%, 52%), hsl(40, 50%, 32%));
gradient dark
background: linear-gradient(to right, hsl(40, 50%, 32%), hsl(40, 50%, 12%))
hex
background-color: #7A5F29;
tailwind
bg-[hsl(40,50%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(40, 50%, 32%, 0.4);
css variable
--color-primary: hsl(40, 50%, 32%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(40, 50%, 32%)?
HEX: #7A5F29 | RGB: rgb(122, 95, 41) | CMYK: 0%, 22%, 66%, 52% | HSV: 40°, 66%, 48%. Copy any format from the conversion table above.
What colors go well with #7A5F29?
The complementary color is HSL(220, 50%, 32%). 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, 50%, 32%) in CSS?
As HSL: color: hsl(40, 50%, 32%); — As HEX: color: #7A5F29; — As RGB: color: rgb(122, 95, 41); — Tailwind CSS: bg-[hsl(40,50%,32%)] — CSS variable: --color-primary: hsl(40, 50%, 32%);