HSL(49, 72%, 18%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(49,72%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(49, 72%, 18%) | color: hsl(49, 72%, 18%) | |
| HEX | #4F430D | color: #4F430D | |
| RGB | rgb(79, 67, 13) | color: rgb(79, 67, 13) | |
| CMYK | cmyk(0%, 15%, 84%, 69%) | — | |
| HSV | hsv(49, 84%, 31%) | — | |
| HWB | hwb(49 5% 69%) | color: hwb(49 5% 69%) | |
| OKLCH | oklch(0.3845 0.0715 95.94) | color: oklch(0.3845 0.0715 95.94) | |
| Lab | lab(28.66 -1.42 32.46) | color: lab(28.66 -1.42 32.46) | |
| LCH | lch(28.66 32.49 92.5) | color: lch(28.66 32.49 92.5) |
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)
#4A4A1A — rgb(74, 74, 26)
Deuteranopia (Green-blind)
#4B4B1D — rgb(75, 75, 29)
Tritanopia (Blue-blind)
#4E2427 — rgb(78, 36, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(49, 72%, 18%);
text
color: hsl(49, 72%, 18%);
border
border: 2px solid hsl(49, 72%, 18%);
gradient light
background: linear-gradient(to right, hsl(49, 72%, 38%), hsl(49, 72%, 18%));
gradient dark
background: linear-gradient(to right, hsl(49, 72%, 18%), hsl(49, 72%, 0%))
hex
background-color: #4F430D;
tailwind
bg-[hsl(49,72%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(49, 72%, 18%, 0.4);
css variable
--color-primary: hsl(49, 72%, 18%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(49, 72%, 18%)?
HEX: #4F430D | RGB: rgb(79, 67, 13) | CMYK: 0%, 15%, 84%, 69% | HSV: 49°, 84%, 31%. Copy any format from the conversion table above.
What colors go well with #4F430D?
The complementary color is HSL(229, 72%, 18%). For a triadic harmony, use hues 49°, 169°, and 289°. For analogous combinations, try hues 19° and 79°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(49, 72%, 18%) in CSS?
As HSL: color: hsl(49, 72%, 18%); — As HEX: color: #4F430D; — As RGB: color: rgb(79, 67, 13); — Tailwind CSS: bg-[hsl(49,72%,18%)] — CSS variable: --color-primary: hsl(49, 72%, 18%);