HSL(30, 100%, 40%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(30,100%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(30, 100%, 40%) | color: hsl(30, 100%, 40%) | |
| HEX | #CC6600 | color: #CC6600 | |
| RGB | rgb(204, 102, 0) | color: rgb(204, 102, 0) | |
| CMYK | cmyk(0%, 50%, 100%, 20%) | — | |
| HSV | hsv(30, 100%, 80%) | — | |
| HWB | hwb(30 0% 20%) | color: hwb(30 0% 20%) | |
| OKLCH | oklch(0.6201 0.1565 53.46) | color: oklch(0.6201 0.1565 53.46) | |
| Lab | lab(54.39 35.72 62.67) | color: lab(54.39 35.72 62.67) | |
| LCH | lch(54.39 72.13 60.32) | color: lch(54.39 72.13 60.32) |
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)
#A09F19 — rgb(160, 159, 25)
Deuteranopia (Green-blind)
#A6AD1F — rgb(166, 173, 31)
Tritanopia (Blue-blind)
#C72C30 — rgb(199, 44, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(30, 100%, 40%);
text
color: hsl(30, 100%, 40%);
border
border: 2px solid hsl(30, 100%, 40%);
gradient light
background: linear-gradient(to right, hsl(30, 100%, 60%), hsl(30, 100%, 40%));
gradient dark
background: linear-gradient(to right, hsl(30, 100%, 40%), hsl(30, 100%, 20%))
hex
background-color: #CC6600;
tailwind
bg-[hsl(30,100%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(30, 100%, 40%, 0.4);
css variable
--color-primary: hsl(30, 100%, 40%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(30, 100%, 40%)?
HEX: #CC6600 | RGB: rgb(204, 102, 0) | CMYK: 0%, 50%, 100%, 20% | HSV: 30°, 100%, 80%. Copy any format from the conversion table above.
What colors go well with #CC6600?
The complementary color is HSL(210, 100%, 40%). For a triadic harmony, use hues 30°, 150°, and 270°. For analogous combinations, try hues 0° and 60°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(30, 100%, 40%) in CSS?
As HSL: color: hsl(30, 100%, 40%); — As HEX: color: #CC6600; — As RGB: color: rgb(204, 102, 0); — Tailwind CSS: bg-[hsl(30,100%,40%)] — CSS variable: --color-primary: hsl(30, 100%, 40%);