HSL(49, 75%, 40%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(49,75%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(49, 75%, 40%) | color: hsl(49, 75%, 40%) | |
| HEX | #B3961A | color: #B3961A | |
| RGB | rgb(179, 150, 26) | color: rgb(179, 150, 26) | |
| CMYK | cmyk(0%, 16%, 85%, 30%) | — | |
| HSV | hsv(49, 85%, 70%) | — | |
| HWB | hwb(49 11% 30%) | color: hwb(49 11% 30%) | |
| OKLCH | oklch(0.68 0.1331 94.3) | color: oklch(0.68 0.1331 94.3) | |
| Lab | lab(62.9 -0.87 62.16) | color: lab(62.9 -0.87 62.16) | |
| LCH | lch(62.9 62.17 90.8) | color: lch(62.9 62.17 90.8) |
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)
#A6A638 — rgb(166, 166, 56)
Deuteranopia (Green-blind)
#A8AA3F — rgb(168, 170, 63)
Tritanopia (Blue-blind)
#B25055 — rgb(178, 80, 85)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(49, 75%, 40%);
text
color: hsl(49, 75%, 40%);
border
border: 2px solid hsl(49, 75%, 40%);
gradient light
background: linear-gradient(to right, hsl(49, 75%, 60%), hsl(49, 75%, 40%));
gradient dark
background: linear-gradient(to right, hsl(49, 75%, 40%), hsl(49, 75%, 20%))
hex
background-color: #B3961A;
tailwind
bg-[hsl(49,75%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(49, 75%, 40%, 0.4);
css variable
--color-primary: hsl(49, 75%, 40%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(49, 75%, 40%)?
HEX: #B3961A | RGB: rgb(179, 150, 26) | CMYK: 0%, 16%, 85%, 30% | HSV: 49°, 85%, 70%. Copy any format from the conversion table above.
What colors go well with #B3961A?
The complementary color is HSL(229, 75%, 40%). 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, 75%, 40%) in CSS?
As HSL: color: hsl(49, 75%, 40%); — As HEX: color: #B3961A; — As RGB: color: rgb(179, 150, 26); — Tailwind CSS: bg-[hsl(49,75%,40%)] — CSS variable: --color-primary: hsl(49, 75%, 40%);