HSL(42, 50%, 32%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(42,50%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 50%, 32%) | color: hsl(42, 50%, 32%) | |
| HEX | #7A6229 | color: #7A6229 | |
| RGB | rgb(122, 98, 41) | color: rgb(122, 98, 41) | |
| CMYK | cmyk(0%, 20%, 66%, 52%) | — | |
| HSV | hsv(42, 66%, 48%) | — | |
| HWB | hwb(42 16% 52%) | color: hwb(42 16% 52%) | |
| OKLCH | oklch(0.5081 0.081 86.22) | color: oklch(0.5081 0.081 86.22) | |
| Lab | lab(42.81 2.74 35.26) | color: lab(42.81 2.74 35.26) | |
| LCH | lch(42.81 35.37 85.56) | color: lch(42.81 35.37 85.56) |
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)
#706F37 — rgb(112, 111, 55)
Deuteranopia (Green-blind)
#71733A — rgb(113, 115, 58)
Tritanopia (Blue-blind)
#794244 — rgb(121, 66, 68)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 50%, 32%);
text
color: hsl(42, 50%, 32%);
border
border: 2px solid hsl(42, 50%, 32%);
gradient light
background: linear-gradient(to right, hsl(42, 50%, 52%), hsl(42, 50%, 32%));
gradient dark
background: linear-gradient(to right, hsl(42, 50%, 32%), hsl(42, 50%, 12%))
hex
background-color: #7A6229;
tailwind
bg-[hsl(42,50%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 50%, 32%, 0.4);
css variable
--color-primary: hsl(42, 50%, 32%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(42, 50%, 32%)?
HEX: #7A6229 | RGB: rgb(122, 98, 41) | CMYK: 0%, 20%, 66%, 52% | HSV: 42°, 66%, 48%. Copy any format from the conversion table above.
What colors go well with #7A6229?
The complementary color is HSL(222, 50%, 32%). For a triadic harmony, use hues 42°, 162°, and 282°. For analogous combinations, try hues 12° and 72°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(42, 50%, 32%) in CSS?
As HSL: color: hsl(42, 50%, 32%); — As HEX: color: #7A6229; — As RGB: color: rgb(122, 98, 41); — Tailwind CSS: bg-[hsl(42,50%,32%)] — CSS variable: --color-primary: hsl(42, 50%, 32%);