HSL(47, 12%, 22%)
Grayish Yellow — Yellow color
Adjust Color
Color Information
Color Name
Grayish Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(47,12%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 12%, 22%) | color: hsl(47, 12%, 22%) | |
| HEX | #3F3C31 | color: #3F3C31 | |
| RGB | rgb(63, 60, 49) | color: rgb(63, 60, 49) | |
| CMYK | cmyk(0%, 5%, 22%, 75%) | — | |
| HSV | hsv(47, 22%, 25%) | — | |
| HWB | hwb(47 20% 75%) | color: hwb(47 20% 75%) | |
| OKLCH | oklch(0.3556 0.0188 94.52) | color: oklch(0.3556 0.0188 94.52) | |
| Lab | lab(25.29 -0.93 7.28) | color: lab(25.29 -0.93 7.28) | |
| LCH | lch(25.29 7.34 97.28) | color: lch(25.29 7.34 97.28) |
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)
#3E3E34 — rgb(62, 62, 52)
Deuteranopia (Green-blind)
#3E3E34 — rgb(62, 62, 52)
Tritanopia (Blue-blind)
#3F3636 — rgb(63, 54, 54)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 12%, 22%);
text
color: hsl(47, 12%, 22%);
border
border: 2px solid hsl(47, 12%, 22%);
gradient light
background: linear-gradient(to right, hsl(47, 12%, 42%), hsl(47, 12%, 22%));
gradient dark
background: linear-gradient(to right, hsl(47, 12%, 22%), hsl(47, 12%, 2%))
hex
background-color: #3F3C31;
tailwind
bg-[hsl(47,12%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 12%, 22%, 0.4);
css variable
--color-primary: hsl(47, 12%, 22%);
Related Colors
Use Cases for Grayish Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 12%, 22%)?
HEX: #3F3C31 | RGB: rgb(63, 60, 49) | CMYK: 0%, 5%, 22%, 75% | HSV: 47°, 22%, 25%. Copy any format from the conversion table above.
What colors go well with #3F3C31?
The complementary color is HSL(227, 12%, 22%). For a triadic harmony, use hues 47°, 167°, and 287°. For analogous combinations, try hues 17° and 77°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(47, 12%, 22%) in CSS?
As HSL: color: hsl(47, 12%, 22%); — As HEX: color: #3F3C31; — As RGB: color: rgb(63, 60, 49); — Tailwind CSS: bg-[hsl(47,12%,22%)] — CSS variable: --color-primary: hsl(47, 12%, 22%);