HSL(30, 40%, 31%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(30,40%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(30, 40%, 31%) | color: hsl(30, 40%, 31%) | |
| HEX | #6F4F2F | color: #6F4F2F | |
| RGB | rgb(111, 79, 47) | color: rgb(111, 79, 47) | |
| CMYK | cmyk(0%, 29%, 58%, 56%) | — | |
| HSV | hsv(30, 58%, 44%) | — | |
| HWB | hwb(30 18% 56%) | color: hwb(30 18% 56%) | |
| OKLCH | oklch(0.4546 0.0634 65.06) | color: oklch(0.4546 0.0634 65.06) | |
| Lab | lab(36.32 9.44 24.06) | color: lab(36.32 9.44 24.06) | |
| LCH | lch(36.32 25.85 68.58) | color: lch(36.32 25.85 68.58) |
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)
#616137 — rgb(97, 97, 55)
Deuteranopia (Green-blind)
#636539 — rgb(99, 101, 57)
Tritanopia (Blue-blind)
#6D3D3E — rgb(109, 61, 62)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(30, 40%, 31%);
text
color: hsl(30, 40%, 31%);
border
border: 2px solid hsl(30, 40%, 31%);
gradient light
background: linear-gradient(to right, hsl(30, 40%, 51%), hsl(30, 40%, 31%));
gradient dark
background: linear-gradient(to right, hsl(30, 40%, 31%), hsl(30, 40%, 11%))
hex
background-color: #6F4F2F;
tailwind
bg-[hsl(30,40%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(30, 40%, 31%, 0.4);
css variable
--color-primary: hsl(30, 40%, 31%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(30, 40%, 31%)?
HEX: #6F4F2F | RGB: rgb(111, 79, 47) | CMYK: 0%, 29%, 58%, 56% | HSV: 30°, 58%, 44%. Copy any format from the conversion table above.
What colors go well with #6F4F2F?
The complementary color is HSL(210, 40%, 31%). 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, 40%, 31%) in CSS?
As HSL: color: hsl(30, 40%, 31%); — As HEX: color: #6F4F2F; — As RGB: color: rgb(111, 79, 47); — Tailwind CSS: bg-[hsl(30,40%,31%)] — CSS variable: --color-primary: hsl(30, 40%, 31%);