HSL(42, 12%, 56%)
Grayish Orange — Orange color
Adjust Color
Color Information
Color Name
Grayish Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(42,12%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 12%, 56%) | color: hsl(42, 12%, 56%) | |
| HEX | #9C9481 | color: #9C9481 | |
| RGB | rgb(156, 148, 129) | color: rgb(156, 148, 129) | |
| CMYK | cmyk(0%, 5%, 17%, 39%) | — | |
| HSV | hsv(42, 17%, 61%) | — | |
| HWB | hwb(42 51% 39%) | color: hwb(42 51% 39%) | |
| OKLCH | oklch(0.6681 0.0288 87.89) | color: oklch(0.6681 0.0288 87.89) | |
| Lab | lab(61.51 -0.37 11.11) | color: lab(61.51 -0.37 11.11) | |
| LCH | lch(61.51 11.12 91.91) | color: lch(61.51 11.12 91.91) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#999886 — rgb(153, 152, 134)
Deuteranopia (Green-blind)
#999A87 — rgb(153, 154, 135)
Tritanopia (Blue-blind)
#9C898A — rgb(156, 137, 138)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 12%, 56%);
text
color: hsl(42, 12%, 56%);
border
border: 2px solid hsl(42, 12%, 56%);
gradient light
background: linear-gradient(to right, hsl(42, 12%, 76%), hsl(42, 12%, 56%));
gradient dark
background: linear-gradient(to right, hsl(42, 12%, 56%), hsl(42, 12%, 36%))
hex
background-color: #9C9481;
tailwind
bg-[hsl(42,12%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 12%, 56%, 0.4);
css variable
--color-primary: hsl(42, 12%, 56%);
Related Colors
Use Cases for Grayish Orange
Frequently Asked Questions
What are all the color codes for HSL(42, 12%, 56%)?
HEX: #9C9481 | RGB: rgb(156, 148, 129) | CMYK: 0%, 5%, 17%, 39% | HSV: 42°, 17%, 61%. Copy any format from the conversion table above.
What colors go well with #9C9481?
The complementary color is HSL(222, 12%, 56%). For a triadic harmony, use hues 42°, 162°, and 282°. For analogous combinations, try hues 12° and 72°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(42, 12%, 56%) in CSS?
As HSL: color: hsl(42, 12%, 56%); — As HEX: color: #9C9481; — As RGB: color: rgb(156, 148, 129); — Tailwind CSS: bg-[hsl(42,12%,56%)] — CSS variable: --color-primary: hsl(42, 12%, 56%);