HSL(22, 87%, 40%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(22,87%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(22, 87%, 40%) | color: hsl(22, 87%, 40%) | |
| HEX | #BF4E0D | color: #BF4E0D | |
| RGB | rgb(191, 78, 13) | color: rgb(191, 78, 13) | |
| CMYK | cmyk(0%, 59%, 93%, 25%) | — | |
| HSV | hsv(22, 93%, 75%) | — | |
| HWB | hwb(22 5% 25%) | color: hwb(22 5% 25%) | |
| OKLCH | oklch(0.5652 0.1599 43.71) | color: oklch(0.5652 0.1599 43.71) | |
| Lab | lab(47.7 42.72 54.55) | color: lab(47.7 42.72 54.55) | |
| LCH | lch(47.7 69.29 51.93) | color: lch(47.7 69.29 51.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)
#8E8D1D — rgb(142, 141, 29)
Deuteranopia (Green-blind)
#959D21 — rgb(149, 157, 33)
Tritanopia (Blue-blind)
#B9292C — rgb(185, 41, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(22, 87%, 40%);
text
color: hsl(22, 87%, 40%);
border
border: 2px solid hsl(22, 87%, 40%);
gradient light
background: linear-gradient(to right, hsl(22, 87%, 60%), hsl(22, 87%, 40%));
gradient dark
background: linear-gradient(to right, hsl(22, 87%, 40%), hsl(22, 87%, 20%))
hex
background-color: #BF4E0D;
tailwind
bg-[hsl(22,87%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(22, 87%, 40%, 0.4);
css variable
--color-primary: hsl(22, 87%, 40%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(22, 87%, 40%)?
HEX: #BF4E0D | RGB: rgb(191, 78, 13) | CMYK: 0%, 59%, 93%, 25% | HSV: 22°, 93%, 75%. Copy any format from the conversion table above.
What colors go well with #BF4E0D?
The complementary color is HSL(202, 87%, 40%). 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, 87%, 40%) in CSS?
As HSL: color: hsl(22, 87%, 40%); — As HEX: color: #BF4E0D; — As RGB: color: rgb(191, 78, 13); — Tailwind CSS: bg-[hsl(22,87%,40%)] — CSS variable: --color-primary: hsl(22, 87%, 40%);