HSL(18, 50%, 42%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(18,50%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(18, 50%, 42%) | color: hsl(18, 50%, 42%) | |
| HEX | #A15636 | color: #A15636 | |
| RGB | rgb(161, 86, 54) | color: rgb(161, 86, 54) | |
| CMYK | cmyk(0%, 47%, 66%, 37%) | — | |
| HSV | hsv(18, 66%, 63%) | — | |
| HWB | hwb(18 21% 37%) | color: hwb(18 21% 37%) | |
| OKLCH | oklch(0.5359 0.1091 43.07) | color: oklch(0.5359 0.1091 43.07) | |
| Lab | lab(44.94 28.09 32.03) | color: lab(44.94 28.09 32.03) | |
| LCH | lch(44.94 42.6 48.75) | color: lch(44.94 42.6 48.75) |
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)
#81803E — rgb(129, 128, 62)
Deuteranopia (Green-blind)
#858B40 — rgb(133, 139, 64)
Tritanopia (Blue-blind)
#9D4445 — rgb(157, 68, 69)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(18, 50%, 42%);
text
color: hsl(18, 50%, 42%);
border
border: 2px solid hsl(18, 50%, 42%);
gradient light
background: linear-gradient(to right, hsl(18, 50%, 62%), hsl(18, 50%, 42%));
gradient dark
background: linear-gradient(to right, hsl(18, 50%, 42%), hsl(18, 50%, 22%))
hex
background-color: #A15636;
tailwind
bg-[hsl(18,50%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(18, 50%, 42%, 0.4);
css variable
--color-primary: hsl(18, 50%, 42%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(18, 50%, 42%)?
HEX: #A15636 | RGB: rgb(161, 86, 54) | CMYK: 0%, 47%, 66%, 37% | HSV: 18°, 66%, 63%. Copy any format from the conversion table above.
What colors go well with #A15636?
The complementary color is HSL(198, 50%, 42%). For a triadic harmony, use hues 18°, 138°, and 258°. For analogous combinations, try hues 348° and 48°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(18, 50%, 42%) in CSS?
As HSL: color: hsl(18, 50%, 42%); — As HEX: color: #A15636; — As RGB: color: rgb(161, 86, 54); — Tailwind CSS: bg-[hsl(18,50%,42%)] — CSS variable: --color-primary: hsl(18, 50%, 42%);