HSL(40, 40%, 70%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(40,40%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(40, 40%, 70%) | color: hsl(40, 40%, 70%) | |
| HEX | #D1BD94 | color: #D1BD94 | |
| RGB | rgb(209, 189, 148) | color: rgb(209, 189, 148) | |
| CMYK | cmyk(0%, 10%, 29%, 18%) | — | |
| HSV | hsv(40, 29%, 82%) | — | |
| HWB | hwb(40 58% 18%) | color: hwb(40 58% 18%) | |
| OKLCH | oklch(0.805 0.0593 84.96) | color: oklch(0.805 0.0593 84.96) | |
| Lab | lab(77.33 0.89 23.35) | color: lab(77.33 0.89 23.35) | |
| LCH | lch(77.33 23.37 87.82) | color: lch(77.33 23.37 87.82) |
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)
#C8C89E — rgb(200, 200, 158)
Deuteranopia (Green-blind)
#CACBA0 — rgb(202, 203, 160)
Tritanopia (Blue-blind)
#D0A6A7 — rgb(208, 166, 167)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(40, 40%, 70%);
text
color: hsl(40, 40%, 70%);
border
border: 2px solid hsl(40, 40%, 70%);
gradient light
background: linear-gradient(to right, hsl(40, 40%, 90%), hsl(40, 40%, 70%));
gradient dark
background: linear-gradient(to right, hsl(40, 40%, 70%), hsl(40, 40%, 50%))
hex
background-color: #D1BD94;
tailwind
bg-[hsl(40,40%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(40, 40%, 70%, 0.4);
css variable
--color-primary: hsl(40, 40%, 70%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(40, 40%, 70%)?
HEX: #D1BD94 | RGB: rgb(209, 189, 148) | CMYK: 0%, 10%, 29%, 18% | HSV: 40°, 29%, 82%. Copy any format from the conversion table above.
What colors go well with #D1BD94?
The complementary color is HSL(220, 40%, 70%). 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%, 70%) in CSS?
As HSL: color: hsl(40, 40%, 70%); — As HEX: color: #D1BD94; — As RGB: color: rgb(209, 189, 148); — Tailwind CSS: bg-[hsl(40,40%,70%)] — CSS variable: --color-primary: hsl(40, 40%, 70%);