HSL(49, 72%, 38%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(49,72%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(49, 72%, 38%) | color: hsl(49, 72%, 38%) | |
| HEX | #A78D1B | color: #A78D1B | |
| RGB | rgb(167, 141, 27) | color: rgb(167, 141, 27) | |
| CMYK | cmyk(0%, 16%, 84%, 35%) | — | |
| HSV | hsv(49, 84%, 65%) | — | |
| HWB | hwb(49 10% 35%) | color: hwb(49 10% 35%) | |
| OKLCH | oklch(0.6487 0.1258 94.91) | color: oklch(0.6487 0.1258 94.91) | |
| Lab | lab(59.29 -1.38 58.37) | color: lab(59.29 -1.38 58.37) | |
| LCH | lch(59.29 58.39 91.35) | color: lch(59.29 58.39 91.35) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#9C9C37 — rgb(156, 156, 55)
Deuteranopia (Green-blind)
#9D9F3D — rgb(157, 159, 61)
Tritanopia (Blue-blind)
#A64C51 — rgb(166, 76, 81)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(49, 72%, 38%);
text
color: hsl(49, 72%, 38%);
border
border: 2px solid hsl(49, 72%, 38%);
gradient light
background: linear-gradient(to right, hsl(49, 72%, 58%), hsl(49, 72%, 38%));
gradient dark
background: linear-gradient(to right, hsl(49, 72%, 38%), hsl(49, 72%, 18%))
hex
background-color: #A78D1B;
tailwind
bg-[hsl(49,72%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(49, 72%, 38%, 0.4);
css variable
--color-primary: hsl(49, 72%, 38%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(49, 72%, 38%)?
HEX: #A78D1B | RGB: rgb(167, 141, 27) | CMYK: 0%, 16%, 84%, 35% | HSV: 49°, 84%, 65%. Copy any format from the conversion table above.
What colors go well with #A78D1B?
The complementary color is HSL(229, 72%, 38%). 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%, 38%) in CSS?
As HSL: color: hsl(49, 72%, 38%); — As HEX: color: #A78D1B; — As RGB: color: rgb(167, 141, 27); — Tailwind CSS: bg-[hsl(49,72%,38%)] — CSS variable: --color-primary: hsl(49, 72%, 38%);