HSL(21, 40%, 29%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(21,40%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(21, 40%, 29%) | color: hsl(21, 40%, 29%) | |
| HEX | #68412C | color: #68412C | |
| RGB | rgb(104, 65, 44) | color: rgb(104, 65, 44) | |
| CMYK | cmyk(0%, 38%, 58%, 59%) | — | |
| HSV | hsv(21, 58%, 41%) | — | |
| HWB | hwb(21 17% 59%) | color: hwb(21 17% 59%) | |
| OKLCH | oklch(0.4157 0.0635 48.68) | color: oklch(0.4157 0.0635 48.68) | |
| Lab | lab(31.59 14.48 19.75) | color: lab(31.59 14.48 19.75) | |
| LCH | lch(31.59 24.49 53.75) | color: lch(31.59 24.49 53.75) |
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)
#575731 — rgb(87, 87, 49)
Deuteranopia (Green-blind)
#595C32 — rgb(89, 92, 50)
Tritanopia (Blue-blind)
#663536 — rgb(102, 53, 54)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(21, 40%, 29%);
text
color: hsl(21, 40%, 29%);
border
border: 2px solid hsl(21, 40%, 29%);
gradient light
background: linear-gradient(to right, hsl(21, 40%, 49%), hsl(21, 40%, 29%));
gradient dark
background: linear-gradient(to right, hsl(21, 40%, 29%), hsl(21, 40%, 9%))
hex
background-color: #68412C;
tailwind
bg-[hsl(21,40%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(21, 40%, 29%, 0.4);
css variable
--color-primary: hsl(21, 40%, 29%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(21, 40%, 29%)?
HEX: #68412C | RGB: rgb(104, 65, 44) | CMYK: 0%, 38%, 58%, 59% | HSV: 21°, 58%, 41%. Copy any format from the conversion table above.
What colors go well with #68412C?
The complementary color is HSL(201, 40%, 29%). For a triadic harmony, use hues 21°, 141°, and 261°. For analogous combinations, try hues 351° and 51°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(21, 40%, 29%) in CSS?
As HSL: color: hsl(21, 40%, 29%); — As HEX: color: #68412C; — As RGB: color: rgb(104, 65, 44); — Tailwind CSS: bg-[hsl(21,40%,29%)] — CSS variable: --color-primary: hsl(21, 40%, 29%);