HSL(22, 21%, 28%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(22,21%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(22, 21%, 28%) | color: hsl(22, 21%, 28%) | |
| HEX | #564338 | color: #564338 | |
| RGB | rgb(86, 67, 56) | color: rgb(86, 67, 56) | |
| CMYK | cmyk(0%, 22%, 35%, 66%) | — | |
| HSV | hsv(22, 35%, 34%) | — | |
| HWB | hwb(22 22% 66%) | color: hwb(22 22% 66%) | |
| OKLCH | oklch(0.3998 0.0319 51.56) | color: oklch(0.3998 0.0319 51.56) | |
| Lab | lab(30.1 6.36 9.8) | color: lab(30.1 6.36 9.8) | |
| LCH | lch(30.1 11.68 57.02) | color: lch(30.1 11.68 57.02) |
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)
#4E4E3B — rgb(78, 78, 59)
Deuteranopia (Green-blind)
#4F503B — rgb(79, 80, 59)
Tritanopia (Blue-blind)
#553D3D — rgb(85, 61, 61)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(22, 21%, 28%);
text
color: hsl(22, 21%, 28%);
border
border: 2px solid hsl(22, 21%, 28%);
gradient light
background: linear-gradient(to right, hsl(22, 21%, 48%), hsl(22, 21%, 28%));
gradient dark
background: linear-gradient(to right, hsl(22, 21%, 28%), hsl(22, 21%, 8%))
hex
background-color: #564338;
tailwind
bg-[hsl(22,21%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(22, 21%, 28%, 0.4);
css variable
--color-primary: hsl(22, 21%, 28%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(22, 21%, 28%)?
HEX: #564338 | RGB: rgb(86, 67, 56) | CMYK: 0%, 22%, 35%, 66% | HSV: 22°, 35%, 34%. Copy any format from the conversion table above.
What colors go well with #564338?
The complementary color is HSL(202, 21%, 28%). For a triadic harmony, use hues 22°, 142°, and 262°. For analogous combinations, try hues 352° and 52°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(22, 21%, 28%) in CSS?
As HSL: color: hsl(22, 21%, 28%); — As HEX: color: #564338; — As RGB: color: rgb(86, 67, 56); — Tailwind CSS: bg-[hsl(22,21%,28%)] — CSS variable: --color-primary: hsl(22, 21%, 28%);