HSL(22, 14%, 17%)
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(22,14%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(22, 14%, 17%) | color: hsl(22, 14%, 17%) | |
| HEX | #312A25 | color: #312A25 | |
| RGB | rgb(49, 42, 37) | color: rgb(49, 42, 37) | |
| CMYK | cmyk(0%, 14%, 24%, 81%) | — | |
| HSV | hsv(25, 24%, 19%) | — | |
| HWB | hwb(25 14% 81%) | color: hwb(25 14% 81%) | |
| OKLCH | oklch(0.291 0.0137 57.7) | color: oklch(0.291 0.0137 57.7) | |
| Lab | lab(17.66 2.19 4.45) | color: lab(17.66 2.19 4.45) | |
| LCH | lch(17.66 4.96 63.8) | color: lch(17.66 4.96 63.8) |
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)
#2E2E26 — rgb(46, 46, 38)
Deuteranopia (Green-blind)
#2E2F27 — rgb(46, 47, 39)
Tritanopia (Blue-blind)
#312727 — rgb(49, 39, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(22, 14%, 17%);
text
color: hsl(22, 14%, 17%);
border
border: 2px solid hsl(22, 14%, 17%);
gradient light
background: linear-gradient(to right, hsl(22, 14%, 37%), hsl(22, 14%, 17%));
gradient dark
background: linear-gradient(to right, hsl(22, 14%, 17%), hsl(22, 14%, 0%))
hex
background-color: #312A25;
tailwind
bg-[hsl(22,14%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(22, 14%, 17%, 0.4);
css variable
--color-primary: hsl(22, 14%, 17%);
Related Colors
Use Cases for Grayish Orange
Frequently Asked Questions
What are all the color codes for HSL(22, 14%, 17%)?
HEX: #312A25 | RGB: rgb(49, 42, 37) | CMYK: 0%, 14%, 24%, 81% | HSV: 25°, 24%, 19%. Copy any format from the conversion table above.
What colors go well with #312A25?
The complementary color is HSL(202, 14%, 17%). For a triadic harmony, use hues 22°, 142°, and 262°. For analogous combinations, try hues 352° and 52°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(22, 14%, 17%) in CSS?
As HSL: color: hsl(22, 14%, 17%); — As HEX: color: #312A25; — As RGB: color: rgb(49, 42, 37); — Tailwind CSS: bg-[hsl(22,14%,17%)] — CSS variable: --color-primary: hsl(22, 14%, 17%);