HSL(45, 79%, 17%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(45,79%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(45, 79%, 17%) | color: hsl(45, 79%, 17%) | |
| HEX | #4E3C09 | color: #4E3C09 | |
| RGB | rgb(78, 60, 9) | color: rgb(78, 60, 9) | |
| CMYK | cmyk(0%, 23%, 88%, 69%) | — | |
| HSV | hsv(44, 88%, 31%) | — | |
| HWB | hwb(44 4% 69%) | color: hwb(44 4% 69%) | |
| OKLCH | oklch(0.3661 0.0691 87.69) | color: oklch(0.3661 0.0691 87.69) | |
| Lab | lab(26.37 2.3 31.93) | color: lab(26.37 2.3 31.93) | |
| LCH | lch(26.37 32.01 85.88) | color: lch(26.37 32.01 85.88) |
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)
#464615 — rgb(70, 70, 21)
Deuteranopia (Green-blind)
#474918 — rgb(71, 73, 24)
Tritanopia (Blue-blind)
#4D1F21 — rgb(77, 31, 33)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(45, 79%, 17%);
text
color: hsl(45, 79%, 17%);
border
border: 2px solid hsl(45, 79%, 17%);
gradient light
background: linear-gradient(to right, hsl(45, 79%, 37%), hsl(45, 79%, 17%));
gradient dark
background: linear-gradient(to right, hsl(45, 79%, 17%), hsl(45, 79%, 0%))
hex
background-color: #4E3C09;
tailwind
bg-[hsl(45,79%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(45, 79%, 17%, 0.4);
css variable
--color-primary: hsl(45, 79%, 17%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(45, 79%, 17%)?
HEX: #4E3C09 | RGB: rgb(78, 60, 9) | CMYK: 0%, 23%, 88%, 69% | HSV: 44°, 88%, 31%. Copy any format from the conversion table above.
What colors go well with #4E3C09?
The complementary color is HSL(225, 79%, 17%). For a triadic harmony, use hues 45°, 165°, and 285°. For analogous combinations, try hues 15° and 75°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(45, 79%, 17%) in CSS?
As HSL: color: hsl(45, 79%, 17%); — As HEX: color: #4E3C09; — As RGB: color: rgb(78, 60, 9); — Tailwind CSS: bg-[hsl(45,79%,17%)] — CSS variable: --color-primary: hsl(45, 79%, 17%);