HSL(40, 40%, 82%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(40,40%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(40, 40%, 82%) | color: hsl(40, 40%, 82%) | |
| HEX | #E3D7BF | color: #E3D7BF | |
| RGB | rgb(227, 215, 191) | color: rgb(227, 215, 191) | |
| CMYK | cmyk(0%, 5%, 16%, 11%) | — | |
| HSV | hsv(40, 16%, 89%) | — | |
| HWB | hwb(40 75% 11%) | color: hwb(40 75% 11%) | |
| OKLCH | oklch(0.8825 0.0347 84.59) | color: oklch(0.8825 0.0347 84.59) | |
| Lab | lab(86.35 0.2 13.33) | color: lab(86.35 0.2 13.33) | |
| LCH | lch(86.35 13.33 89.14) | color: lch(86.35 13.33 89.14) |
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)
#DEDEC5 — rgb(222, 222, 197)
Deuteranopia (Green-blind)
#DFDFC6 — rgb(223, 223, 198)
Tritanopia (Blue-blind)
#E2C9CA — rgb(226, 201, 202)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(40, 40%, 82%);
text
color: hsl(40, 40%, 82%);
border
border: 2px solid hsl(40, 40%, 82%);
gradient light
background: linear-gradient(to right, hsl(40, 40%, 100%), hsl(40, 40%, 82%));
gradient dark
background: linear-gradient(to right, hsl(40, 40%, 82%), hsl(40, 40%, 62%))
hex
background-color: #E3D7BF;
tailwind
bg-[hsl(40,40%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(40, 40%, 82%, 0.4);
css variable
--color-primary: hsl(40, 40%, 82%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(40, 40%, 82%)?
HEX: #E3D7BF | RGB: rgb(227, 215, 191) | CMYK: 0%, 5%, 16%, 11% | HSV: 40°, 16%, 89%. Copy any format from the conversion table above.
What colors go well with #E3D7BF?
The complementary color is HSL(220, 40%, 82%). 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, 40%, 82%) in CSS?
As HSL: color: hsl(40, 40%, 82%); — As HEX: color: #E3D7BF; — As RGB: color: rgb(227, 215, 191); — Tailwind CSS: bg-[hsl(40,40%,82%)] — CSS variable: --color-primary: hsl(40, 40%, 82%);