HSL(40, 50%, 70%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(40,50%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(40, 50%, 70%) | color: hsl(40, 50%, 70%) | |
| HEX | #D9BF8C | color: #D9BF8C | |
| RGB | rgb(217, 191, 140) | color: rgb(217, 191, 140) | |
| CMYK | cmyk(0%, 12%, 35%, 15%) | — | |
| HSV | hsv(40, 35%, 85%) | — | |
| HWB | hwb(40 55% 15%) | color: hwb(40 55% 15%) | |
| OKLCH | oklch(0.8147 0.0732 83.87) | color: oklch(0.8147 0.0732 83.87) | |
| Lab | lab(78.41 1.96 29.15) | color: lab(78.41 1.96 29.15) | |
| LCH | lch(78.41 29.22 86.15) | color: lch(78.41 29.22 86.15) |
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)
#CECE98 — rgb(206, 206, 152)
Deuteranopia (Green-blind)
#CFD19B — rgb(207, 209, 155)
Tritanopia (Blue-blind)
#D8A2A4 — rgb(216, 162, 164)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(40, 50%, 70%);
text
color: hsl(40, 50%, 70%);
border
border: 2px solid hsl(40, 50%, 70%);
gradient light
background: linear-gradient(to right, hsl(40, 50%, 90%), hsl(40, 50%, 70%));
gradient dark
background: linear-gradient(to right, hsl(40, 50%, 70%), hsl(40, 50%, 50%))
hex
background-color: #D9BF8C;
tailwind
bg-[hsl(40,50%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(40, 50%, 70%, 0.4);
css variable
--color-primary: hsl(40, 50%, 70%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(40, 50%, 70%)?
HEX: #D9BF8C | RGB: rgb(217, 191, 140) | CMYK: 0%, 12%, 35%, 15% | HSV: 40°, 35%, 85%. Copy any format from the conversion table above.
What colors go well with #D9BF8C?
The complementary color is HSL(220, 50%, 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, 50%, 70%) in CSS?
As HSL: color: hsl(40, 50%, 70%); — As HEX: color: #D9BF8C; — As RGB: color: rgb(217, 191, 140); — Tailwind CSS: bg-[hsl(40,50%,70%)] — CSS variable: --color-primary: hsl(40, 50%, 70%);