HSL(40, 70%, 47%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(40,70%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(40, 70%, 47%) | color: hsl(40, 70%, 47%) | |
| HEX | #CC9424 | color: #CC9424 | |
| RGB | rgb(204, 148, 36) | color: rgb(204, 148, 36) | |
| CMYK | cmyk(0%, 27%, 82%, 20%) | — | |
| HSV | hsv(40, 82%, 80%) | — | |
| HWB | hwb(40 14% 20%) | color: hwb(40 14% 20%) | |
| OKLCH | oklch(0.7032 0.1357 79.2) | color: oklch(0.7032 0.1357 79.2) | |
| Lab | lab(65.08 11.65 62.14) | color: lab(65.08 11.65 62.14) | |
| LCH | lch(65.08 63.22 79.38) | color: lch(65.08 63.22 79.38) |
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)
#B4B33F — rgb(180, 179, 63)
Deuteranopia (Green-blind)
#B7BB46 — rgb(183, 187, 70)
Tritanopia (Blue-blind)
#C95459 — rgb(201, 84, 89)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(40, 70%, 47%);
text
color: hsl(40, 70%, 47%);
border
border: 2px solid hsl(40, 70%, 47%);
gradient light
background: linear-gradient(to right, hsl(40, 70%, 67%), hsl(40, 70%, 47%));
gradient dark
background: linear-gradient(to right, hsl(40, 70%, 47%), hsl(40, 70%, 27%))
hex
background-color: #CC9424;
tailwind
bg-[hsl(40,70%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(40, 70%, 47%, 0.4);
css variable
--color-primary: hsl(40, 70%, 47%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(40, 70%, 47%)?
HEX: #CC9424 | RGB: rgb(204, 148, 36) | CMYK: 0%, 27%, 82%, 20% | HSV: 40°, 82%, 80%. Copy any format from the conversion table above.
What colors go well with #CC9424?
The complementary color is HSL(220, 70%, 47%). 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, 70%, 47%) in CSS?
As HSL: color: hsl(40, 70%, 47%); — As HEX: color: #CC9424; — As RGB: color: rgb(204, 148, 36); — Tailwind CSS: bg-[hsl(40,70%,47%)] — CSS variable: --color-primary: hsl(40, 70%, 47%);