HSL(49, 70%, 34%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(49,70%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(49, 70%, 34%) | color: hsl(49, 70%, 34%) | |
| HEX | #937D1A | color: #937D1A | |
| RGB | rgb(147, 125, 26) | color: rgb(147, 125, 26) | |
| CMYK | cmyk(0%, 15%, 82%, 42%) | — | |
| HSV | hsv(49, 82%, 58%) | — | |
| HWB | hwb(49 10% 42%) | color: hwb(49 10% 42%) | |
| OKLCH | oklch(0.5933 0.1136 95.53) | color: oklch(0.5933 0.1136 95.53) | |
| Lab | lab(52.89 -1.77 52.35) | color: lab(52.89 -1.77 52.35) | |
| LCH | lch(52.89 52.38 91.94) | color: lch(52.89 52.38 91.94) |
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)
#898932 — rgb(137, 137, 50)
Deuteranopia (Green-blind)
#8B8C38 — rgb(139, 140, 56)
Tritanopia (Blue-blind)
#924549 — rgb(146, 69, 73)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(49, 70%, 34%);
text
color: hsl(49, 70%, 34%);
border
border: 2px solid hsl(49, 70%, 34%);
gradient light
background: linear-gradient(to right, hsl(49, 70%, 54%), hsl(49, 70%, 34%));
gradient dark
background: linear-gradient(to right, hsl(49, 70%, 34%), hsl(49, 70%, 14%))
hex
background-color: #937D1A;
tailwind
bg-[hsl(49,70%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(49, 70%, 34%, 0.4);
css variable
--color-primary: hsl(49, 70%, 34%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(49, 70%, 34%)?
HEX: #937D1A | RGB: rgb(147, 125, 26) | CMYK: 0%, 15%, 82%, 42% | HSV: 49°, 82%, 58%. Copy any format from the conversion table above.
What colors go well with #937D1A?
The complementary color is HSL(229, 70%, 34%). 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, 70%, 34%) in CSS?
As HSL: color: hsl(49, 70%, 34%); — As HEX: color: #937D1A; — As RGB: color: rgb(147, 125, 26); — Tailwind CSS: bg-[hsl(49,70%,34%)] — CSS variable: --color-primary: hsl(49, 70%, 34%);