HSL(40, 70%, 41%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(40,70%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(40, 70%, 41%) | color: hsl(40, 70%, 41%) | |
| HEX | #B2811F | color: #B2811F | |
| RGB | rgb(178, 129, 31) | color: rgb(178, 129, 31) | |
| CMYK | cmyk(0%, 28%, 83%, 30%) | — | |
| HSV | hsv(40, 83%, 70%) | — | |
| HWB | hwb(40 12% 30%) | color: hwb(40 12% 30%) | |
| OKLCH | oklch(0.636 0.1222 79.33) | color: oklch(0.636 0.1222 79.33) | |
| Lab | lab(57.33 10.38 55.89) | color: lab(57.33 10.38 55.89) | |
| LCH | lch(57.33 56.85 79.48) | color: lch(57.33 56.85 79.48) |
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)
#9D9C37 — rgb(157, 156, 55)
Deuteranopia (Green-blind)
#A0A33C — rgb(160, 163, 60)
Tritanopia (Blue-blind)
#B0494E — rgb(176, 73, 78)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(40, 70%, 41%);
text
color: hsl(40, 70%, 41%);
border
border: 2px solid hsl(40, 70%, 41%);
gradient light
background: linear-gradient(to right, hsl(40, 70%, 61%), hsl(40, 70%, 41%));
gradient dark
background: linear-gradient(to right, hsl(40, 70%, 41%), hsl(40, 70%, 21%))
hex
background-color: #B2811F;
tailwind
bg-[hsl(40,70%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(40, 70%, 41%, 0.4);
css variable
--color-primary: hsl(40, 70%, 41%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(40, 70%, 41%)?
HEX: #B2811F | RGB: rgb(178, 129, 31) | CMYK: 0%, 28%, 83%, 30% | HSV: 40°, 83%, 70%. Copy any format from the conversion table above.
What colors go well with #B2811F?
The complementary color is HSL(220, 70%, 41%). 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%, 41%) in CSS?
As HSL: color: hsl(40, 70%, 41%); — As HEX: color: #B2811F; — As RGB: color: rgb(178, 129, 31); — Tailwind CSS: bg-[hsl(40,70%,41%)] — CSS variable: --color-primary: hsl(40, 70%, 41%);