HSL(40, 30%, 58%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(40,30%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(40, 30%, 58%) | color: hsl(40, 30%, 58%) | |
| HEX | #B49F74 | color: #B49F74 | |
| RGB | rgb(180, 159, 116) | color: rgb(180, 159, 116) | |
| CMYK | cmyk(0%, 12%, 36%, 29%) | — | |
| HSV | hsv(40, 36%, 71%) | — | |
| HWB | hwb(40 45% 29%) | color: hwb(40 45% 29%) | |
| OKLCH | oklch(0.7104 0.0634 84.8) | color: oklch(0.7104 0.0634 84.8) | |
| Lab | lab(66.34 1.33 25.3) | color: lab(66.34 1.33 25.3) | |
| LCH | lch(66.34 25.33 86.99) | color: lch(66.34 25.33 86.99) |
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)
#ABAB7E — rgb(171, 171, 126)
Deuteranopia (Green-blind)
#ACAE81 — rgb(172, 174, 129)
Tritanopia (Blue-blind)
#B38788 — rgb(179, 135, 136)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(40, 30%, 58%);
text
color: hsl(40, 30%, 58%);
border
border: 2px solid hsl(40, 30%, 58%);
gradient light
background: linear-gradient(to right, hsl(40, 30%, 78%), hsl(40, 30%, 58%));
gradient dark
background: linear-gradient(to right, hsl(40, 30%, 58%), hsl(40, 30%, 38%))
hex
background-color: #B49F74;
tailwind
bg-[hsl(40,30%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(40, 30%, 58%, 0.4);
css variable
--color-primary: hsl(40, 30%, 58%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(40, 30%, 58%)?
HEX: #B49F74 | RGB: rgb(180, 159, 116) | CMYK: 0%, 12%, 36%, 29% | HSV: 40°, 36%, 71%. Copy any format from the conversion table above.
What colors go well with #B49F74?
The complementary color is HSL(220, 30%, 58%). 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, 30%, 58%) in CSS?
As HSL: color: hsl(40, 30%, 58%); — As HEX: color: #B49F74; — As RGB: color: rgb(180, 159, 116); — Tailwind CSS: bg-[hsl(40,30%,58%)] — CSS variable: --color-primary: hsl(40, 30%, 58%);