HSL(24, 20%, 15%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(24,20%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(24, 20%, 15%) | color: hsl(24, 20%, 15%) | |
| HEX | #2E251F | color: #2E251F | |
| RGB | rgb(46, 37, 31) | color: rgb(46, 37, 31) | |
| CMYK | cmyk(0%, 20%, 33%, 82%) | — | |
| HSV | hsv(24, 33%, 18%) | — | |
| HWB | hwb(24 12% 82%) | color: hwb(24 12% 82%) | |
| OKLCH | oklch(0.2727 0.0174 55.55) | color: oklch(0.2727 0.0174 55.55) | |
| Lab | lab(15.5 3.07 5.58) | color: lab(15.5 3.07 5.58) | |
| LCH | lch(15.5 6.37 61.18) | color: lch(15.5 6.37 61.18) |
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)
#2A2A20 — rgb(42, 42, 32)
Deuteranopia (Green-blind)
#2B2B21 — rgb(43, 43, 33)
Tritanopia (Blue-blind)
#2E2222 — rgb(46, 34, 34)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(24, 20%, 15%);
text
color: hsl(24, 20%, 15%);
border
border: 2px solid hsl(24, 20%, 15%);
gradient light
background: linear-gradient(to right, hsl(24, 20%, 35%), hsl(24, 20%, 15%));
gradient dark
background: linear-gradient(to right, hsl(24, 20%, 15%), hsl(24, 20%, 0%))
hex
background-color: #2E251F;
tailwind
bg-[hsl(24,20%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(24, 20%, 15%, 0.4);
css variable
--color-primary: hsl(24, 20%, 15%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(24, 20%, 15%)?
HEX: #2E251F | RGB: rgb(46, 37, 31) | CMYK: 0%, 20%, 33%, 82% | HSV: 24°, 33%, 18%. Copy any format from the conversion table above.
What colors go well with #2E251F?
The complementary color is HSL(204, 20%, 15%). For a triadic harmony, use hues 24°, 144°, and 264°. For analogous combinations, try hues 354° and 54°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(24, 20%, 15%) in CSS?
As HSL: color: hsl(24, 20%, 15%); — As HEX: color: #2E251F; — As RGB: color: rgb(46, 37, 31); — Tailwind CSS: bg-[hsl(24,20%,15%)] — CSS variable: --color-primary: hsl(24, 20%, 15%);