HSL(40, 30%, 76%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(40,30%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(40, 30%, 76%) | color: hsl(40, 30%, 76%) | |
| HEX | #D4C8AF | color: #D4C8AF | |
| RGB | rgb(212, 200, 175) | color: rgb(212, 200, 175) | |
| CMYK | cmyk(0%, 6%, 17%, 17%) | — | |
| HSV | hsv(41, 17%, 83%) | — | |
| HWB | hwb(41 69% 17%) | color: hwb(41 69% 17%) | |
| OKLCH | oklch(0.836 0.0364 85.4) | color: oklch(0.836 0.0364 85.4) | |
| Lab | lab(80.96 0.09 14.02) | color: lab(80.96 0.09 14.02) | |
| LCH | lch(80.96 14.02 89.63) | color: lch(80.96 14.02 89.63) |
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)
#CFCFB5 — rgb(207, 207, 181)
Deuteranopia (Green-blind)
#D0D0B7 — rgb(208, 208, 183)
Tritanopia (Blue-blind)
#D3BABB — rgb(211, 186, 187)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(40, 30%, 76%);
text
color: hsl(40, 30%, 76%);
border
border: 2px solid hsl(40, 30%, 76%);
gradient light
background: linear-gradient(to right, hsl(40, 30%, 96%), hsl(40, 30%, 76%));
gradient dark
background: linear-gradient(to right, hsl(40, 30%, 76%), hsl(40, 30%, 56%))
hex
background-color: #D4C8AF;
tailwind
bg-[hsl(40,30%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(40, 30%, 76%, 0.4);
css variable
--color-primary: hsl(40, 30%, 76%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(40, 30%, 76%)?
HEX: #D4C8AF | RGB: rgb(212, 200, 175) | CMYK: 0%, 6%, 17%, 17% | HSV: 41°, 17%, 83%. Copy any format from the conversion table above.
What colors go well with #D4C8AF?
The complementary color is HSL(220, 30%, 76%). 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, 30%, 76%) in CSS?
As HSL: color: hsl(40, 30%, 76%); — As HEX: color: #D4C8AF; — As RGB: color: rgb(212, 200, 175); — Tailwind CSS: bg-[hsl(40,30%,76%)] — CSS variable: --color-primary: hsl(40, 30%, 76%);