HSL(40, 40%, 64%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(40,40%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(40, 40%, 64%) | color: hsl(40, 40%, 64%) | |
| HEX | #C8AF7E | color: #C8AF7E | |
| RGB | rgb(200, 175, 126) | color: rgb(200, 175, 126) | |
| CMYK | cmyk(0%, 13%, 37%, 22%) | — | |
| HSV | hsv(40, 37%, 78%) | — | |
| HWB | hwb(40 49% 22%) | color: hwb(40 49% 22%) | |
| OKLCH | oklch(0.764 0.0712 83.81) | color: oklch(0.764 0.0712 83.81) | |
| Lab | lab(72.53 2.01 28.47) | color: lab(72.53 2.01 28.47) | |
| LCH | lch(72.53 28.54 85.96) | color: lch(72.53 28.54 85.96) |
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)
#BDBD8A — rgb(189, 189, 138)
Deuteranopia (Green-blind)
#BFC18D — rgb(191, 193, 141)
Tritanopia (Blue-blind)
#C79395 — rgb(199, 147, 149)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(40, 40%, 64%);
text
color: hsl(40, 40%, 64%);
border
border: 2px solid hsl(40, 40%, 64%);
gradient light
background: linear-gradient(to right, hsl(40, 40%, 84%), hsl(40, 40%, 64%));
gradient dark
background: linear-gradient(to right, hsl(40, 40%, 64%), hsl(40, 40%, 44%))
hex
background-color: #C8AF7E;
tailwind
bg-[hsl(40,40%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(40, 40%, 64%, 0.4);
css variable
--color-primary: hsl(40, 40%, 64%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(40, 40%, 64%)?
HEX: #C8AF7E | RGB: rgb(200, 175, 126) | CMYK: 0%, 13%, 37%, 22% | HSV: 40°, 37%, 78%. Copy any format from the conversion table above.
What colors go well with #C8AF7E?
The complementary color is HSL(220, 40%, 64%). 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%, 64%) in CSS?
As HSL: color: hsl(40, 40%, 64%); — As HEX: color: #C8AF7E; — As RGB: color: rgb(200, 175, 126); — Tailwind CSS: bg-[hsl(40,40%,64%)] — CSS variable: --color-primary: hsl(40, 40%, 64%);