HSL(40, 50%, 74%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(40,50%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(40, 50%, 74%) | color: hsl(40, 50%, 74%) | |
| HEX | #DEC89C | color: #DEC89C | |
| RGB | rgb(222, 200, 156) | color: rgb(222, 200, 156) | |
| CMYK | cmyk(0%, 10%, 30%, 13%) | — | |
| HSV | hsv(40, 30%, 87%) | — | |
| HWB | hwb(40 61% 13%) | color: hwb(40 61% 13%) | |
| OKLCH | oklch(0.8404 0.0631 84.43) | color: oklch(0.8404 0.0631 84.43) | |
| Lab | lab(81.42 1.17 24.86) | color: lab(81.42 1.17 24.86) | |
| LCH | lch(81.42 24.89 87.31) | color: lch(81.42 24.89 87.31) |
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)
#D4D4A7 — rgb(212, 212, 167)
Deuteranopia (Green-blind)
#D6D7A9 — rgb(214, 215, 169)
Tritanopia (Blue-blind)
#DDAFB1 — rgb(221, 175, 177)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(40, 50%, 74%);
text
color: hsl(40, 50%, 74%);
border
border: 2px solid hsl(40, 50%, 74%);
gradient light
background: linear-gradient(to right, hsl(40, 50%, 94%), hsl(40, 50%, 74%));
gradient dark
background: linear-gradient(to right, hsl(40, 50%, 74%), hsl(40, 50%, 54%))
hex
background-color: #DEC89C;
tailwind
bg-[hsl(40,50%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(40, 50%, 74%, 0.4);
css variable
--color-primary: hsl(40, 50%, 74%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(40, 50%, 74%)?
HEX: #DEC89C | RGB: rgb(222, 200, 156) | CMYK: 0%, 10%, 30%, 13% | HSV: 40°, 30%, 87%. Copy any format from the conversion table above.
What colors go well with #DEC89C?
The complementary color is HSL(220, 50%, 74%). 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%, 74%) in CSS?
As HSL: color: hsl(40, 50%, 74%); — As HEX: color: #DEC89C; — As RGB: color: rgb(222, 200, 156); — Tailwind CSS: bg-[hsl(40,50%,74%)] — CSS variable: --color-primary: hsl(40, 50%, 74%);