HSL(42, 70%, 23%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(42,70%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 70%, 23%) | color: hsl(42, 70%, 23%) | |
| HEX | #644B12 | color: #644B12 | |
| RGB | rgb(100, 75, 18) | color: rgb(100, 75, 18) | |
| CMYK | cmyk(0%, 25%, 82%, 61%) | — | |
| HSV | hsv(42, 82%, 39%) | — | |
| HWB | hwb(42 7% 61%) | color: hwb(42 7% 61%) | |
| OKLCH | oklch(0.4287 0.0788 83.53) | color: oklch(0.4287 0.0788 83.53) | |
| Lab | lab(33.53 4.53 35.81) | color: lab(33.53 4.53 35.81) | |
| LCH | lch(33.53 36.1 82.79) | color: lch(33.53 36.1 82.79) |
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)
#595920 — rgb(89, 89, 32)
Deuteranopia (Green-blind)
#5B5D23 — rgb(91, 93, 35)
Tritanopia (Blue-blind)
#632B2D — rgb(99, 43, 45)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 70%, 23%);
text
color: hsl(42, 70%, 23%);
border
border: 2px solid hsl(42, 70%, 23%);
gradient light
background: linear-gradient(to right, hsl(42, 70%, 43%), hsl(42, 70%, 23%));
gradient dark
background: linear-gradient(to right, hsl(42, 70%, 23%), hsl(42, 70%, 3%))
hex
background-color: #644B12;
tailwind
bg-[hsl(42,70%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 70%, 23%, 0.4);
css variable
--color-primary: hsl(42, 70%, 23%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(42, 70%, 23%)?
HEX: #644B12 | RGB: rgb(100, 75, 18) | CMYK: 0%, 25%, 82%, 61% | HSV: 42°, 82%, 39%. Copy any format from the conversion table above.
What colors go well with #644B12?
The complementary color is HSL(222, 70%, 23%). 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, 70%, 23%) in CSS?
As HSL: color: hsl(42, 70%, 23%); — As HEX: color: #644B12; — As RGB: color: rgb(100, 75, 18); — Tailwind CSS: bg-[hsl(42,70%,23%)] — CSS variable: --color-primary: hsl(42, 70%, 23%);