HSL(21, 72%, 31%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(21,72%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(21, 72%, 31%) | color: hsl(21, 72%, 31%) | |
| HEX | #883E16 | color: #883E16 | |
| RGB | rgb(136, 62, 22) | color: rgb(136, 62, 22) | |
| CMYK | cmyk(0%, 54%, 84%, 47%) | — | |
| HSV | hsv(21, 84%, 53%) | — | |
| HWB | hwb(21 8% 47%) | color: hwb(21 8% 47%) | |
| OKLCH | oklch(0.4547 0.1134 45.51) | color: oklch(0.4547 0.1134 45.51) | |
| Lab | lab(35.48 29.1 37.69) | color: lab(35.48 29.1 37.69) | |
| LCH | lch(35.48 47.62 52.33) | color: lch(35.48 47.62 52.33) |
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)
#686720 — rgb(104, 103, 32)
Deuteranopia (Green-blind)
#6C7222 — rgb(108, 114, 34)
Tritanopia (Blue-blind)
#842729 — rgb(132, 39, 41)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(21, 72%, 31%);
text
color: hsl(21, 72%, 31%);
border
border: 2px solid hsl(21, 72%, 31%);
gradient light
background: linear-gradient(to right, hsl(21, 72%, 51%), hsl(21, 72%, 31%));
gradient dark
background: linear-gradient(to right, hsl(21, 72%, 31%), hsl(21, 72%, 11%))
hex
background-color: #883E16;
tailwind
bg-[hsl(21,72%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(21, 72%, 31%, 0.4);
css variable
--color-primary: hsl(21, 72%, 31%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(21, 72%, 31%)?
HEX: #883E16 | RGB: rgb(136, 62, 22) | CMYK: 0%, 54%, 84%, 47% | HSV: 21°, 84%, 53%. Copy any format from the conversion table above.
What colors go well with #883E16?
The complementary color is HSL(201, 72%, 31%). For a triadic harmony, use hues 21°, 141°, and 261°. For analogous combinations, try hues 351° and 51°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(21, 72%, 31%) in CSS?
As HSL: color: hsl(21, 72%, 31%); — As HEX: color: #883E16; — As RGB: color: rgb(136, 62, 22); — Tailwind CSS: bg-[hsl(21,72%,31%)] — CSS variable: --color-primary: hsl(21, 72%, 31%);