HSL(42, 23%, 21%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(42,23%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 23%, 21%) | color: hsl(42, 23%, 21%) | |
| HEX | #423A29 | color: #423A29 | |
| RGB | rgb(66, 58, 41) | color: rgb(66, 58, 41) | |
| CMYK | cmyk(0%, 12%, 38%, 74%) | — | |
| HSV | hsv(41, 38%, 26%) | — | |
| HWB | hwb(41 16% 74%) | color: hwb(41 16% 74%) | |
| OKLCH | oklch(0.3517 0.0298 85.61) | color: oklch(0.3517 0.0298 85.61) | |
| Lab | lab(24.78 0.43 11.87) | color: lab(24.78 0.43 11.87) | |
| LCH | lch(24.78 11.88 87.93) | color: lch(24.78 11.88 87.93) |
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)
#3F3E2D — rgb(63, 62, 45)
Deuteranopia (Green-blind)
#3F402E — rgb(63, 64, 46)
Tritanopia (Blue-blind)
#423031 — rgb(66, 48, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 23%, 21%);
text
color: hsl(42, 23%, 21%);
border
border: 2px solid hsl(42, 23%, 21%);
gradient light
background: linear-gradient(to right, hsl(42, 23%, 41%), hsl(42, 23%, 21%));
gradient dark
background: linear-gradient(to right, hsl(42, 23%, 21%), hsl(42, 23%, 1%))
hex
background-color: #423A29;
tailwind
bg-[hsl(42,23%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 23%, 21%, 0.4);
css variable
--color-primary: hsl(42, 23%, 21%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(42, 23%, 21%)?
HEX: #423A29 | RGB: rgb(66, 58, 41) | CMYK: 0%, 12%, 38%, 74% | HSV: 41°, 38%, 26%. Copy any format from the conversion table above.
What colors go well with #423A29?
The complementary color is HSL(222, 23%, 21%). For a triadic harmony, use hues 42°, 162°, and 282°. For analogous combinations, try hues 12° and 72°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(42, 23%, 21%) in CSS?
As HSL: color: hsl(42, 23%, 21%); — As HEX: color: #423A29; — As RGB: color: rgb(66, 58, 41); — Tailwind CSS: bg-[hsl(42,23%,21%)] — CSS variable: --color-primary: hsl(42, 23%, 21%);