HSL(21, 76%, 28%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(21,76%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(21, 76%, 28%) | color: hsl(21, 76%, 28%) | |
| HEX | #7E3711 | color: #7E3711 | |
| RGB | rgb(126, 55, 17) | color: rgb(126, 55, 17) | |
| CMYK | cmyk(0%, 56%, 87%, 51%) | — | |
| HSV | hsv(21, 87%, 49%) | — | |
| HWB | hwb(21 6% 51%) | color: hwb(21 6% 51%) | |
| OKLCH | oklch(0.4269 0.1098 44.91) | color: oklch(0.4269 0.1098 44.91) | |
| Lab | lab(32.28 28.51 36.48) | color: lab(32.28 28.51 36.48) | |
| LCH | lch(32.28 46.3 51.99) | color: lch(32.28 46.3 51.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: white
Color Blindness Simulation
Protanopia (Red-blind)
#5F5F1A — rgb(95, 95, 26)
Deuteranopia (Green-blind)
#63691C — rgb(99, 105, 28)
Tritanopia (Blue-blind)
#7A2123 — rgb(122, 33, 35)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(21, 76%, 28%);
text
color: hsl(21, 76%, 28%);
border
border: 2px solid hsl(21, 76%, 28%);
gradient light
background: linear-gradient(to right, hsl(21, 76%, 48%), hsl(21, 76%, 28%));
gradient dark
background: linear-gradient(to right, hsl(21, 76%, 28%), hsl(21, 76%, 8%))
hex
background-color: #7E3711;
tailwind
bg-[hsl(21,76%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(21, 76%, 28%, 0.4);
css variable
--color-primary: hsl(21, 76%, 28%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(21, 76%, 28%)?
HEX: #7E3711 | RGB: rgb(126, 55, 17) | CMYK: 0%, 56%, 87%, 51% | HSV: 21°, 87%, 49%. Copy any format from the conversion table above.
What colors go well with #7E3711?
The complementary color is HSL(201, 76%, 28%). 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, 76%, 28%) in CSS?
As HSL: color: hsl(21, 76%, 28%); — As HEX: color: #7E3711; — As RGB: color: rgb(126, 55, 17); — Tailwind CSS: bg-[hsl(21,76%,28%)] — CSS variable: --color-primary: hsl(21, 76%, 28%);