HSL(43, 21%, 17%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(43,21%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(43, 21%, 17%) | color: hsl(43, 21%, 17%) | |
| HEX | #342F22 | color: #342F22 | |
| RGB | rgb(52, 47, 34) | color: rgb(52, 47, 34) | |
| CMYK | cmyk(0%, 10%, 35%, 80%) | — | |
| HSV | hsv(43, 35%, 20%) | — | |
| HWB | hwb(43 13% 80%) | color: hwb(43 13% 80%) | |
| OKLCH | oklch(0.3064 0.0232 89.48) | color: oklch(0.3064 0.0232 89.48) | |
| Lab | lab(19.55 -0.27 9.19) | color: lab(19.55 -0.27 9.19) | |
| LCH | lch(19.55 9.19 91.68) | color: lch(19.55 9.19 91.68) |
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)
#323225 — rgb(50, 50, 37)
Deuteranopia (Green-blind)
#323326 — rgb(50, 51, 38)
Tritanopia (Blue-blind)
#342828 — rgb(52, 40, 40)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(43, 21%, 17%);
text
color: hsl(43, 21%, 17%);
border
border: 2px solid hsl(43, 21%, 17%);
gradient light
background: linear-gradient(to right, hsl(43, 21%, 37%), hsl(43, 21%, 17%));
gradient dark
background: linear-gradient(to right, hsl(43, 21%, 17%), hsl(43, 21%, 0%))
hex
background-color: #342F22;
tailwind
bg-[hsl(43,21%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(43, 21%, 17%, 0.4);
css variable
--color-primary: hsl(43, 21%, 17%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(43, 21%, 17%)?
HEX: #342F22 | RGB: rgb(52, 47, 34) | CMYK: 0%, 10%, 35%, 80% | HSV: 43°, 35%, 20%. Copy any format from the conversion table above.
What colors go well with #342F22?
The complementary color is HSL(223, 21%, 17%). For a triadic harmony, use hues 43°, 163°, and 283°. For analogous combinations, try hues 13° and 73°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(43, 21%, 17%) in CSS?
As HSL: color: hsl(43, 21%, 17%); — As HEX: color: #342F22; — As RGB: color: rgb(52, 47, 34); — Tailwind CSS: bg-[hsl(43,21%,17%)] — CSS variable: --color-primary: hsl(43, 21%, 17%);