HSL(42, 86%, 36%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(42,86%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 86%, 36%) | color: hsl(42, 86%, 36%) | |
| HEX | #AB7B0D | color: #AB7B0D | |
| RGB | rgb(171, 123, 13) | color: rgb(171, 123, 13) | |
| CMYK | cmyk(0%, 28%, 92%, 33%) | — | |
| HSV | hsv(42, 92%, 67%) | — | |
| HWB | hwb(42 5% 33%) | color: hwb(42 5% 33%) | |
| OKLCH | oklch(0.6151 0.1242 80.37) | color: oklch(0.6151 0.1242 80.37) | |
| Lab | lab(54.92 10.12 58.5) | color: lab(54.92 10.12 58.5) | |
| LCH | lch(54.92 59.37 80.19) | color: lch(54.92 59.37 80.19) |
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)
#969628 — rgb(150, 150, 40)
Deuteranopia (Green-blind)
#999D2E — rgb(153, 157, 46)
Tritanopia (Blue-blind)
#A93D41 — rgb(169, 61, 65)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 86%, 36%);
text
color: hsl(42, 86%, 36%);
border
border: 2px solid hsl(42, 86%, 36%);
gradient light
background: linear-gradient(to right, hsl(42, 86%, 56%), hsl(42, 86%, 36%));
gradient dark
background: linear-gradient(to right, hsl(42, 86%, 36%), hsl(42, 86%, 16%))
hex
background-color: #AB7B0D;
tailwind
bg-[hsl(42,86%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 86%, 36%, 0.4);
css variable
--color-primary: hsl(42, 86%, 36%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(42, 86%, 36%)?
HEX: #AB7B0D | RGB: rgb(171, 123, 13) | CMYK: 0%, 28%, 92%, 33% | HSV: 42°, 92%, 67%. Copy any format from the conversion table above.
What colors go well with #AB7B0D?
The complementary color is HSL(222, 86%, 36%). 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, 86%, 36%) in CSS?
As HSL: color: hsl(42, 86%, 36%); — As HEX: color: #AB7B0D; — As RGB: color: rgb(171, 123, 13); — Tailwind CSS: bg-[hsl(42,86%,36%)] — CSS variable: --color-primary: hsl(42, 86%, 36%);