HSL(30, 40%, 21%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(30,40%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(30, 40%, 21%) | color: hsl(30, 40%, 21%) | |
| HEX | #4B3620 | color: #4B3620 | |
| RGB | rgb(75, 54, 32) | color: rgb(75, 54, 32) | |
| CMYK | cmyk(0%, 28%, 57%, 71%) | — | |
| HSV | hsv(31, 57%, 29%) | — | |
| HWB | hwb(31 12% 71%) | color: hwb(31 12% 71%) | |
| OKLCH | oklch(0.351 0.0458 66.7) | color: oklch(0.351 0.0458 66.7) | |
| Lab | lab(24.45 6.3 17.42) | color: lab(24.45 6.3 17.42) | |
| LCH | lch(24.45 18.52 70.12) | color: lch(24.45 18.52 70.12) |
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)
#424225 — rgb(66, 66, 37)
Deuteranopia (Green-blind)
#434527 — rgb(67, 69, 39)
Tritanopia (Blue-blind)
#4A2A2A — rgb(74, 42, 42)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(30, 40%, 21%);
text
color: hsl(30, 40%, 21%);
border
border: 2px solid hsl(30, 40%, 21%);
gradient light
background: linear-gradient(to right, hsl(30, 40%, 41%), hsl(30, 40%, 21%));
gradient dark
background: linear-gradient(to right, hsl(30, 40%, 21%), hsl(30, 40%, 1%))
hex
background-color: #4B3620;
tailwind
bg-[hsl(30,40%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(30, 40%, 21%, 0.4);
css variable
--color-primary: hsl(30, 40%, 21%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(30, 40%, 21%)?
HEX: #4B3620 | RGB: rgb(75, 54, 32) | CMYK: 0%, 28%, 57%, 71% | HSV: 31°, 57%, 29%. Copy any format from the conversion table above.
What colors go well with #4B3620?
The complementary color is HSL(210, 40%, 21%). 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, 40%, 21%) in CSS?
As HSL: color: hsl(30, 40%, 21%); — As HEX: color: #4B3620; — As RGB: color: rgb(75, 54, 32); — Tailwind CSS: bg-[hsl(30,40%,21%)] — CSS variable: --color-primary: hsl(30, 40%, 21%);