HSL(27, 40%, 70%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(27,40%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(27, 40%, 70%) | color: hsl(27, 40%, 70%) | |
| HEX | #D1AF94 | color: #D1AF94 | |
| RGB | rgb(209, 175, 148) | color: rgb(209, 175, 148) | |
| CMYK | cmyk(0%, 16%, 29%, 18%) | — | |
| HSV | hsv(27, 29%, 82%) | — | |
| HWB | hwb(27 58% 18%) | color: hwb(27 58% 18%) | |
| OKLCH | oklch(0.7771 0.0543 60.33) | color: oklch(0.7771 0.0543 60.33) | |
| Lab | lab(73.78 8.34 18.46) | color: lab(73.78 8.34 18.46) | |
| LCH | lch(73.78 20.26 65.69) | color: lch(73.78 20.26 65.69) |
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)
#C2C29B — rgb(194, 194, 155)
Deuteranopia (Green-blind)
#C4C79C — rgb(196, 199, 156)
Tritanopia (Blue-blind)
#CFA0A1 — rgb(207, 160, 161)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(27, 40%, 70%);
text
color: hsl(27, 40%, 70%);
border
border: 2px solid hsl(27, 40%, 70%);
gradient light
background: linear-gradient(to right, hsl(27, 40%, 90%), hsl(27, 40%, 70%));
gradient dark
background: linear-gradient(to right, hsl(27, 40%, 70%), hsl(27, 40%, 50%))
hex
background-color: #D1AF94;
tailwind
bg-[hsl(27,40%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(27, 40%, 70%, 0.4);
css variable
--color-primary: hsl(27, 40%, 70%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(27, 40%, 70%)?
HEX: #D1AF94 | RGB: rgb(209, 175, 148) | CMYK: 0%, 16%, 29%, 18% | HSV: 27°, 29%, 82%. Copy any format from the conversion table above.
What colors go well with #D1AF94?
The complementary color is HSL(207, 40%, 70%). For a triadic harmony, use hues 27°, 147°, and 267°. For analogous combinations, try hues 357° and 57°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(27, 40%, 70%) in CSS?
As HSL: color: hsl(27, 40%, 70%); — As HEX: color: #D1AF94; — As RGB: color: rgb(209, 175, 148); — Tailwind CSS: bg-[hsl(27,40%,70%)] — CSS variable: --color-primary: hsl(27, 40%, 70%);