HSL(30, 20%, 18%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(30,20%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(30, 20%, 18%) | color: hsl(30, 20%, 18%) | |
| HEX | #372E25 | color: #372E25 | |
| RGB | rgb(55, 46, 37) | color: rgb(55, 46, 37) | |
| CMYK | cmyk(0%, 16%, 33%, 78%) | — | |
| HSV | hsv(30, 33%, 22%) | — | |
| HWB | hwb(30 15% 78%) | color: hwb(30 15% 78%) | |
| OKLCH | oklch(0.3081 0.0203 66.95) | color: oklch(0.3081 0.0203 66.95) | |
| Lab | lab(19.64 2.38 7.32) | color: lab(19.64 2.38 7.32) | |
| LCH | lch(19.64 7.7 71.99) | color: lch(19.64 7.7 71.99) |
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)
#333327 — rgb(51, 51, 39)
Deuteranopia (Green-blind)
#343428 — rgb(52, 52, 40)
Tritanopia (Blue-blind)
#372929 — rgb(55, 41, 41)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(30, 20%, 18%);
text
color: hsl(30, 20%, 18%);
border
border: 2px solid hsl(30, 20%, 18%);
gradient light
background: linear-gradient(to right, hsl(30, 20%, 38%), hsl(30, 20%, 18%));
gradient dark
background: linear-gradient(to right, hsl(30, 20%, 18%), hsl(30, 20%, 0%))
hex
background-color: #372E25;
tailwind
bg-[hsl(30,20%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(30, 20%, 18%, 0.4);
css variable
--color-primary: hsl(30, 20%, 18%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(30, 20%, 18%)?
HEX: #372E25 | RGB: rgb(55, 46, 37) | CMYK: 0%, 16%, 33%, 78% | HSV: 30°, 33%, 22%. Copy any format from the conversion table above.
What colors go well with #372E25?
The complementary color is HSL(210, 20%, 18%). For a triadic harmony, use hues 30°, 150°, and 270°. For analogous combinations, try hues 0° and 60°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(30, 20%, 18%) in CSS?
As HSL: color: hsl(30, 20%, 18%); — As HEX: color: #372E25; — As RGB: color: rgb(55, 46, 37); — Tailwind CSS: bg-[hsl(30,20%,18%)] — CSS variable: --color-primary: hsl(30, 20%, 18%);