HSL(42, 80%, 42%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(42,80%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 80%, 42%) | color: hsl(42, 80%, 42%) | |
| HEX | #C18D15 | color: #C18D15 | |
| RGB | rgb(193, 141, 21) | color: rgb(193, 141, 21) | |
| CMYK | cmyk(0%, 27%, 89%, 24%) | — | |
| HSV | hsv(42, 89%, 76%) | — | |
| HWB | hwb(42 8% 24%) | color: hwb(42 8% 24%) | |
| OKLCH | oklch(0.6765 0.1349 81.22) | color: oklch(0.6765 0.1349 81.22) | |
| Lab | lab(62.04 10.22 63.32) | color: lab(62.04 10.22 63.32) | |
| LCH | lch(62.04 64.14 80.83) | color: lch(62.04 64.14 80.83) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#AAAA32 — rgb(170, 170, 50)
Deuteranopia (Green-blind)
#AEB139 — rgb(174, 177, 57)
Tritanopia (Blue-blind)
#BE494E — rgb(190, 73, 78)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 80%, 42%);
text
color: hsl(42, 80%, 42%);
border
border: 2px solid hsl(42, 80%, 42%);
gradient light
background: linear-gradient(to right, hsl(42, 80%, 62%), hsl(42, 80%, 42%));
gradient dark
background: linear-gradient(to right, hsl(42, 80%, 42%), hsl(42, 80%, 22%))
hex
background-color: #C18D15;
tailwind
bg-[hsl(42,80%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 80%, 42%, 0.4);
css variable
--color-primary: hsl(42, 80%, 42%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(42, 80%, 42%)?
HEX: #C18D15 | RGB: rgb(193, 141, 21) | CMYK: 0%, 27%, 89%, 24% | HSV: 42°, 89%, 76%. Copy any format from the conversion table above.
What colors go well with #C18D15?
The complementary color is HSL(222, 80%, 42%). 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, 80%, 42%) in CSS?
As HSL: color: hsl(42, 80%, 42%); — As HEX: color: #C18D15; — As RGB: color: rgb(193, 141, 21); — Tailwind CSS: bg-[hsl(42,80%,42%)] — CSS variable: --color-primary: hsl(42, 80%, 42%);