HSL(48, 17%, 22%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(48,17%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(48, 17%, 22%) | color: hsl(48, 17%, 22%) | |
| HEX | #423E2F | color: #423E2F | |
| RGB | rgb(66, 62, 47) | color: rgb(66, 62, 47) | |
| CMYK | cmyk(0%, 6%, 29%, 74%) | — | |
| HSV | hsv(47, 29%, 26%) | — | |
| HWB | hwb(47 18% 74%) | color: hwb(47 18% 74%) | |
| OKLCH | oklch(0.3632 0.0252 94.89) | color: oklch(0.3632 0.0252 94.89) | |
| Lab | lab(26.18 -1.18 9.87) | color: lab(26.18 -1.18 9.87) | |
| LCH | lch(26.18 9.94 96.82) | color: lch(26.18 9.94 96.82) |
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)
#404033 — rgb(64, 64, 51)
Deuteranopia (Green-blind)
#414134 — rgb(65, 65, 52)
Tritanopia (Blue-blind)
#423536 — rgb(66, 53, 54)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(48, 17%, 22%);
text
color: hsl(48, 17%, 22%);
border
border: 2px solid hsl(48, 17%, 22%);
gradient light
background: linear-gradient(to right, hsl(48, 17%, 42%), hsl(48, 17%, 22%));
gradient dark
background: linear-gradient(to right, hsl(48, 17%, 22%), hsl(48, 17%, 2%))
hex
background-color: #423E2F;
tailwind
bg-[hsl(48,17%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(48, 17%, 22%, 0.4);
css variable
--color-primary: hsl(48, 17%, 22%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(48, 17%, 22%)?
HEX: #423E2F | RGB: rgb(66, 62, 47) | CMYK: 0%, 6%, 29%, 74% | HSV: 47°, 29%, 26%. Copy any format from the conversion table above.
What colors go well with #423E2F?
The complementary color is HSL(228, 17%, 22%). For a triadic harmony, use hues 48°, 168°, and 288°. For analogous combinations, try hues 18° and 78°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(48, 17%, 22%) in CSS?
As HSL: color: hsl(48, 17%, 22%); — As HEX: color: #423E2F; — As RGB: color: rgb(66, 62, 47); — Tailwind CSS: bg-[hsl(48,17%,22%)] — CSS variable: --color-primary: hsl(48, 17%, 22%);