HSL(31, 47%, 62%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(31,47%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(31, 47%, 62%) | color: hsl(31, 47%, 62%) | |
| HEX | #CCA071 | color: #CCA071 | |
| RGB | rgb(204, 160, 113) | color: rgb(204, 160, 113) | |
| CMYK | cmyk(0%, 22%, 45%, 20%) | — | |
| HSV | hsv(31, 45%, 80%) | — | |
| HWB | hwb(31 44% 20%) | color: hwb(31 44% 20%) | |
| OKLCH | oklch(0.7355 0.0815 67.85) | color: oklch(0.7355 0.0815 67.85) | |
| Lab | lab(68.88 10.26 30.69) | color: lab(68.88 10.26 30.69) | |
| LCH | lch(68.88 32.36 71.51) | color: lch(68.88 32.36 71.51) |
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)
#B9B97C — rgb(185, 185, 124)
Deuteranopia (Green-blind)
#BCBF7F — rgb(188, 191, 127)
Tritanopia (Blue-blind)
#CA8587 — rgb(202, 133, 135)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(31, 47%, 62%);
text
color: hsl(31, 47%, 62%);
border
border: 2px solid hsl(31, 47%, 62%);
gradient light
background: linear-gradient(to right, hsl(31, 47%, 82%), hsl(31, 47%, 62%));
gradient dark
background: linear-gradient(to right, hsl(31, 47%, 62%), hsl(31, 47%, 42%))
hex
background-color: #CCA071;
tailwind
bg-[hsl(31,47%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(31, 47%, 62%, 0.4);
css variable
--color-primary: hsl(31, 47%, 62%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(31, 47%, 62%)?
HEX: #CCA071 | RGB: rgb(204, 160, 113) | CMYK: 0%, 22%, 45%, 20% | HSV: 31°, 45%, 80%. Copy any format from the conversion table above.
What colors go well with #CCA071?
The complementary color is HSL(211, 47%, 62%). For a triadic harmony, use hues 31°, 151°, and 271°. For analogous combinations, try hues 1° and 61°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(31, 47%, 62%) in CSS?
As HSL: color: hsl(31, 47%, 62%); — As HEX: color: #CCA071; — As RGB: color: rgb(204, 160, 113); — Tailwind CSS: bg-[hsl(31,47%,62%)] — CSS variable: --color-primary: hsl(31, 47%, 62%);