HSL(40, 40%, 73%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(40,40%,73%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(40, 40%, 73%) | color: hsl(40, 40%, 73%) | |
| HEX | #D6C39F | color: #D6C39F | |
| RGB | rgb(214, 195, 159) | color: rgb(214, 195, 159) | |
| CMYK | cmyk(0%, 9%, 26%, 16%) | — | |
| HSV | hsv(39, 26%, 84%) | — | |
| HWB | hwb(39 62% 16%) | color: hwb(39 62% 16%) | |
| OKLCH | oklch(0.8239 0.0528 83.35) | color: oklch(0.8239 0.0528 83.35) | |
| Lab | lab(79.52 1.13 20.55) | color: lab(79.52 1.13 20.55) | |
| LCH | lch(79.52 20.58 86.85) | color: lch(79.52 20.58 86.85) |
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)
#CECEA8 — rgb(206, 206, 168)
Deuteranopia (Green-blind)
#CFD0AA — rgb(207, 208, 170)
Tritanopia (Blue-blind)
#D5AFB0 — rgb(213, 175, 176)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(40, 40%, 73%);
text
color: hsl(40, 40%, 73%);
border
border: 2px solid hsl(40, 40%, 73%);
gradient light
background: linear-gradient(to right, hsl(40, 40%, 93%), hsl(40, 40%, 73%));
gradient dark
background: linear-gradient(to right, hsl(40, 40%, 73%), hsl(40, 40%, 53%))
hex
background-color: #D6C39F;
tailwind
bg-[hsl(40,40%,73%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(40, 40%, 73%, 0.4);
css variable
--color-primary: hsl(40, 40%, 73%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(40, 40%, 73%)?
HEX: #D6C39F | RGB: rgb(214, 195, 159) | CMYK: 0%, 9%, 26%, 16% | HSV: 39°, 26%, 84%. Copy any format from the conversion table above.
What colors go well with #D6C39F?
The complementary color is HSL(220, 40%, 73%). 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%, 73%) in CSS?
As HSL: color: hsl(40, 40%, 73%); — As HEX: color: #D6C39F; — As RGB: color: rgb(214, 195, 159); — Tailwind CSS: bg-[hsl(40,40%,73%)] — CSS variable: --color-primary: hsl(40, 40%, 73%);