HSL(31, 14%, 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(31,14%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(31, 14%, 56%) | color: hsl(31, 14%, 56%) | |
| HEX | #9F8F7F | color: #9F8F7F | |
| RGB | rgb(159, 143, 127) | color: rgb(159, 143, 127) | |
| CMYK | cmyk(0%, 10%, 20%, 38%) | — | |
| HSV | hsv(30, 20%, 62%) | — | |
| HWB | hwb(30 50% 38%) | color: hwb(30 50% 38%) | |
| OKLCH | oklch(0.6597 0.03 67.27) | color: oklch(0.6597 0.03 67.27) | |
| Lab | lab(60.38 3.27 10.69) | color: lab(60.38 3.27 10.69) | |
| LCH | lch(60.38 11.18 72.99) | color: lch(60.38 11.18 72.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: black
Color Blindness Simulation
Protanopia (Red-blind)
#989883 — rgb(152, 152, 131)
Deuteranopia (Green-blind)
#999A84 — rgb(153, 154, 132)
Tritanopia (Blue-blind)
#9E8687 — rgb(158, 134, 135)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(31, 14%, 56%);
text
color: hsl(31, 14%, 56%);
border
border: 2px solid hsl(31, 14%, 56%);
gradient light
background: linear-gradient(to right, hsl(31, 14%, 76%), hsl(31, 14%, 56%));
gradient dark
background: linear-gradient(to right, hsl(31, 14%, 56%), hsl(31, 14%, 36%))
hex
background-color: #9F8F7F;
tailwind
bg-[hsl(31,14%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(31, 14%, 56%, 0.4);
css variable
--color-primary: hsl(31, 14%, 56%);
Related Colors
Use Cases for Grayish Orange
Frequently Asked Questions
What are all the color codes for HSL(31, 14%, 56%)?
HEX: #9F8F7F | RGB: rgb(159, 143, 127) | CMYK: 0%, 10%, 20%, 38% | HSV: 30°, 20%, 62%. Copy any format from the conversion table above.
What colors go well with #9F8F7F?
The complementary color is HSL(211, 14%, 56%). For a triadic harmony, use hues 31°, 151°, and 271°. For analogous combinations, try hues 1° and 61°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(31, 14%, 56%) in CSS?
As HSL: color: hsl(31, 14%, 56%); — As HEX: color: #9F8F7F; — As RGB: color: rgb(159, 143, 127); — Tailwind CSS: bg-[hsl(31,14%,56%)] — CSS variable: --color-primary: hsl(31, 14%, 56%);