HSL(18, 100%, 20%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(18,100%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(18, 100%, 20%) | color: hsl(18, 100%, 20%) | |
| HEX | #661F00 | color: #661F00 | |
| RGB | rgb(102, 31, 0) | color: rgb(102, 31, 0) | |
| CMYK | cmyk(0%, 70%, 100%, 60%) | — | |
| HSV | hsv(18, 100%, 40%) | — | |
| HWB | hwb(18 0% 60%) | color: hwb(18 0% 60%) | |
| OKLCH | oklch(0.3479 0.1088 40.16) | color: oklch(0.3479 0.1088 40.16) | |
| Lab | lab(23.02 30.57 33.68) | color: lab(23.02 30.57 33.68) | |
| LCH | lch(23.02 45.48 47.77) | color: lch(23.02 45.48 47.77) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#474708 — rgb(71, 71, 8)
Deuteranopia (Green-blind)
#4B5109 — rgb(75, 81, 9)
Tritanopia (Blue-blind)
#620D0F — rgb(98, 13, 15)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(18, 100%, 20%);
text
color: hsl(18, 100%, 20%);
border
border: 2px solid hsl(18, 100%, 20%);
gradient light
background: linear-gradient(to right, hsl(18, 100%, 40%), hsl(18, 100%, 20%));
gradient dark
background: linear-gradient(to right, hsl(18, 100%, 20%), hsl(18, 100%, 0%))
hex
background-color: #661F00;
tailwind
bg-[hsl(18,100%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(18, 100%, 20%, 0.4);
css variable
--color-primary: hsl(18, 100%, 20%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(18, 100%, 20%)?
HEX: #661F00 | RGB: rgb(102, 31, 0) | CMYK: 0%, 70%, 100%, 60% | HSV: 18°, 100%, 40%. Copy any format from the conversion table above.
What colors go well with #661F00?
The complementary color is HSL(198, 100%, 20%). For a triadic harmony, use hues 18°, 138°, and 258°. For analogous combinations, try hues 348° and 48°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(18, 100%, 20%) in CSS?
As HSL: color: hsl(18, 100%, 20%); — As HEX: color: #661F00; — As RGB: color: rgb(102, 31, 0); — Tailwind CSS: bg-[hsl(18,100%,20%)] — CSS variable: --color-primary: hsl(18, 100%, 20%);