HSL(31, 72%, 39%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(31,72%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(31, 72%, 39%) | color: hsl(31, 72%, 39%) | |
| HEX | #AB661C | color: #AB661C | |
| RGB | rgb(171, 102, 28) | color: rgb(171, 102, 28) | |
| CMYK | cmyk(0%, 40%, 84%, 33%) | — | |
| HSV | hsv(31, 84%, 67%) | — | |
| HWB | hwb(31 11% 33%) | color: hwb(31 11% 33%) | |
| OKLCH | oklch(0.5754 0.1214 61.78) | color: oklch(0.5754 0.1214 61.78) | |
| Lab | lab(49.79 22.27 50) | color: lab(49.79 22.27 50) | |
| LCH | lch(49.79 54.74 65.99) | color: lch(49.79 54.74 65.99) |
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)
#8D8D2E — rgb(141, 141, 46)
Deuteranopia (Green-blind)
#919632 — rgb(145, 150, 50)
Tritanopia (Blue-blind)
#A83C3F — rgb(168, 60, 63)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(31, 72%, 39%);
text
color: hsl(31, 72%, 39%);
border
border: 2px solid hsl(31, 72%, 39%);
gradient light
background: linear-gradient(to right, hsl(31, 72%, 59%), hsl(31, 72%, 39%));
gradient dark
background: linear-gradient(to right, hsl(31, 72%, 39%), hsl(31, 72%, 19%))
hex
background-color: #AB661C;
tailwind
bg-[hsl(31,72%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(31, 72%, 39%, 0.4);
css variable
--color-primary: hsl(31, 72%, 39%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(31, 72%, 39%)?
HEX: #AB661C | RGB: rgb(171, 102, 28) | CMYK: 0%, 40%, 84%, 33% | HSV: 31°, 84%, 67%. Copy any format from the conversion table above.
What colors go well with #AB661C?
The complementary color is HSL(211, 72%, 39%). For a triadic harmony, use hues 31°, 151°, and 271°. For analogous combinations, try hues 1° and 61°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(31, 72%, 39%) in CSS?
As HSL: color: hsl(31, 72%, 39%); — As HEX: color: #AB661C; — As RGB: color: rgb(171, 102, 28); — Tailwind CSS: bg-[hsl(31,72%,39%)] — CSS variable: --color-primary: hsl(31, 72%, 39%);