HSL(40, 80%, 28%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(40,80%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(40, 80%, 28%) | color: hsl(40, 80%, 28%) | |
| HEX | #815A0E | color: #815A0E | |
| RGB | rgb(129, 90, 14) | color: rgb(129, 90, 14) | |
| CMYK | cmyk(0%, 30%, 89%, 49%) | — | |
| HSV | hsv(40, 89%, 51%) | — | |
| HWB | hwb(40 6% 49%) | color: hwb(40 6% 49%) | |
| OKLCH | oklch(0.4969 0.0985 77.62) | color: oklch(0.4969 0.0985 77.62) | |
| Lab | lab(41.24 9.51 45.39) | color: lab(41.24 9.51 45.39) | |
| LCH | lch(41.24 46.38 78.17) | color: lch(41.24 46.38 78.17) |
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)
#707020 — rgb(112, 112, 32)
Deuteranopia (Green-blind)
#727525 — rgb(114, 117, 37)
Tritanopia (Blue-blind)
#7F2F32 — rgb(127, 47, 50)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(40, 80%, 28%);
text
color: hsl(40, 80%, 28%);
border
border: 2px solid hsl(40, 80%, 28%);
gradient light
background: linear-gradient(to right, hsl(40, 80%, 48%), hsl(40, 80%, 28%));
gradient dark
background: linear-gradient(to right, hsl(40, 80%, 28%), hsl(40, 80%, 8%))
hex
background-color: #815A0E;
tailwind
bg-[hsl(40,80%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(40, 80%, 28%, 0.4);
css variable
--color-primary: hsl(40, 80%, 28%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(40, 80%, 28%)?
HEX: #815A0E | RGB: rgb(129, 90, 14) | CMYK: 0%, 30%, 89%, 49% | HSV: 40°, 89%, 51%. Copy any format from the conversion table above.
What colors go well with #815A0E?
The complementary color is HSL(220, 80%, 28%). For a triadic harmony, use hues 40°, 160°, and 280°. For analogous combinations, try hues 10° and 70°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(40, 80%, 28%) in CSS?
As HSL: color: hsl(40, 80%, 28%); — As HEX: color: #815A0E; — As RGB: color: rgb(129, 90, 14); — Tailwind CSS: bg-[hsl(40,80%,28%)] — CSS variable: --color-primary: hsl(40, 80%, 28%);