HSL(40, 100%, 40%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(40,100%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(40, 100%, 40%) | color: hsl(40, 100%, 40%) | |
| HEX | #CC8800 | color: #CC8800 | |
| RGB | rgb(204, 136, 0) | color: rgb(204, 136, 0) | |
| CMYK | cmyk(0%, 33%, 100%, 20%) | — | |
| HSV | hsv(40, 100%, 80%) | — | |
| HWB | hwb(40 0% 20%) | color: hwb(40 0% 20%) | |
| OKLCH | oklch(0.6792 0.1441 73.84) | color: oklch(0.6792 0.1441 73.84) | |
| Lab | lab(62.04 17.54 67.5) | color: lab(62.04 17.54 67.5) | |
| LCH | lch(62.04 69.74 75.43) | color: lch(62.04 69.74 75.43) |
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)
#AFAE21 — rgb(175, 174, 33)
Deuteranopia (Green-blind)
#B3B829 — rgb(179, 184, 41)
Tritanopia (Blue-blind)
#C93B41 — rgb(201, 59, 65)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(40, 100%, 40%);
text
color: hsl(40, 100%, 40%);
border
border: 2px solid hsl(40, 100%, 40%);
gradient light
background: linear-gradient(to right, hsl(40, 100%, 60%), hsl(40, 100%, 40%));
gradient dark
background: linear-gradient(to right, hsl(40, 100%, 40%), hsl(40, 100%, 20%))
hex
background-color: #CC8800;
tailwind
bg-[hsl(40,100%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(40, 100%, 40%, 0.4);
css variable
--color-primary: hsl(40, 100%, 40%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(40, 100%, 40%)?
HEX: #CC8800 | RGB: rgb(204, 136, 0) | CMYK: 0%, 33%, 100%, 20% | HSV: 40°, 100%, 80%. Copy any format from the conversion table above.
What colors go well with #CC8800?
The complementary color is HSL(220, 100%, 40%). 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, 100%, 40%) in CSS?
As HSL: color: hsl(40, 100%, 40%); — As HEX: color: #CC8800; — As RGB: color: rgb(204, 136, 0); — Tailwind CSS: bg-[hsl(40,100%,40%)] — CSS variable: --color-primary: hsl(40, 100%, 40%);