HSL(21, 40%, 71%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(21,40%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(21, 40%, 71%) | color: hsl(21, 40%, 71%) | |
| HEX | #D3AC97 | color: #D3AC97 | |
| RGB | rgb(211, 172, 151) | color: rgb(211, 172, 151) | |
| CMYK | cmyk(0%, 18%, 28%, 17%) | — | |
| HSV | hsv(21, 28%, 83%) | — | |
| HWB | hwb(21 60% 17%) | color: hwb(21 60% 17%) | |
| OKLCH | oklch(0.7738 0.0544 49.83) | color: oklch(0.7738 0.0544 49.83) | |
| Lab | lab(73.28 11.13 16.17) | color: lab(73.28 11.13 16.17) | |
| LCH | lch(73.28 19.63 55.46) | color: lch(73.28 19.63 55.46) |
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)
#C2C29C — rgb(194, 194, 156)
Deuteranopia (Green-blind)
#C4C79D — rgb(196, 199, 157)
Tritanopia (Blue-blind)
#D1A0A1 — rgb(209, 160, 161)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(21, 40%, 71%);
text
color: hsl(21, 40%, 71%);
border
border: 2px solid hsl(21, 40%, 71%);
gradient light
background: linear-gradient(to right, hsl(21, 40%, 91%), hsl(21, 40%, 71%));
gradient dark
background: linear-gradient(to right, hsl(21, 40%, 71%), hsl(21, 40%, 51%))
hex
background-color: #D3AC97;
tailwind
bg-[hsl(21,40%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(21, 40%, 71%, 0.4);
css variable
--color-primary: hsl(21, 40%, 71%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(21, 40%, 71%)?
HEX: #D3AC97 | RGB: rgb(211, 172, 151) | CMYK: 0%, 18%, 28%, 17% | HSV: 21°, 28%, 83%. Copy any format from the conversion table above.
What colors go well with #D3AC97?
The complementary color is HSL(201, 40%, 71%). For a triadic harmony, use hues 21°, 141°, and 261°. For analogous combinations, try hues 351° and 51°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(21, 40%, 71%) in CSS?
As HSL: color: hsl(21, 40%, 71%); — As HEX: color: #D3AC97; — As RGB: color: rgb(211, 172, 151); — Tailwind CSS: bg-[hsl(21,40%,71%)] — CSS variable: --color-primary: hsl(21, 40%, 71%);