HSL(31, 63%, 42%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(31,63%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(31, 63%, 42%) | color: hsl(31, 63%, 42%) | |
| HEX | #AF6D28 | color: #AF6D28 | |
| RGB | rgb(175, 109, 40) | color: rgb(175, 109, 40) | |
| CMYK | cmyk(0%, 38%, 77%, 31%) | — | |
| HSV | hsv(31, 77%, 69%) | — | |
| HWB | hwb(31 16% 31%) | color: hwb(31 16% 31%) | |
| OKLCH | oklch(0.5944 0.1171 62.73) | color: oklch(0.5944 0.1171 62.73) | |
| Lab | lab(52.07 20.56 47.36) | color: lab(52.07 20.56 47.36) | |
| LCH | lch(52.07 51.63 66.53) | color: lch(52.07 51.63 66.53) |
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)
#929239 — rgb(146, 146, 57)
Deuteranopia (Green-blind)
#969B3D — rgb(150, 155, 61)
Tritanopia (Blue-blind)
#AC4649 — rgb(172, 70, 73)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(31, 63%, 42%);
text
color: hsl(31, 63%, 42%);
border
border: 2px solid hsl(31, 63%, 42%);
gradient light
background: linear-gradient(to right, hsl(31, 63%, 62%), hsl(31, 63%, 42%));
gradient dark
background: linear-gradient(to right, hsl(31, 63%, 42%), hsl(31, 63%, 22%))
hex
background-color: #AF6D28;
tailwind
bg-[hsl(31,63%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(31, 63%, 42%, 0.4);
css variable
--color-primary: hsl(31, 63%, 42%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(31, 63%, 42%)?
HEX: #AF6D28 | RGB: rgb(175, 109, 40) | CMYK: 0%, 38%, 77%, 31% | HSV: 31°, 77%, 69%. Copy any format from the conversion table above.
What colors go well with #AF6D28?
The complementary color is HSL(211, 63%, 42%). 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, 63%, 42%) in CSS?
As HSL: color: hsl(31, 63%, 42%); — As HEX: color: #AF6D28; — As RGB: color: rgb(175, 109, 40); — Tailwind CSS: bg-[hsl(31,63%,42%)] — CSS variable: --color-primary: hsl(31, 63%, 42%);