HSL(45, 70%, 29%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(45,70%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(45, 70%, 29%) | color: hsl(45, 70%, 29%) | |
| HEX | #7E6416 | color: #7E6416 | |
| RGB | rgb(126, 100, 22) | color: rgb(126, 100, 22) | |
| CMYK | cmyk(0%, 21%, 83%, 51%) | — | |
| HSV | hsv(45, 83%, 49%) | — | |
| HWB | hwb(45 8% 51%) | color: hwb(45 8% 51%) | |
| OKLCH | oklch(0.5153 0.0968 88.94) | color: oklch(0.5153 0.0968 88.94) | |
| Lab | lab(43.67 2.44 44.66) | color: lab(43.67 2.44 44.66) | |
| LCH | lch(43.67 44.73 86.87) | color: lch(43.67 44.73 86.87) |
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)
#737329 — rgb(115, 115, 41)
Deuteranopia (Green-blind)
#74762D — rgb(116, 118, 45)
Tritanopia (Blue-blind)
#7D383B — rgb(125, 56, 59)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(45, 70%, 29%);
text
color: hsl(45, 70%, 29%);
border
border: 2px solid hsl(45, 70%, 29%);
gradient light
background: linear-gradient(to right, hsl(45, 70%, 49%), hsl(45, 70%, 29%));
gradient dark
background: linear-gradient(to right, hsl(45, 70%, 29%), hsl(45, 70%, 9%))
hex
background-color: #7E6416;
tailwind
bg-[hsl(45,70%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(45, 70%, 29%, 0.4);
css variable
--color-primary: hsl(45, 70%, 29%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(45, 70%, 29%)?
HEX: #7E6416 | RGB: rgb(126, 100, 22) | CMYK: 0%, 21%, 83%, 51% | HSV: 45°, 83%, 49%. Copy any format from the conversion table above.
What colors go well with #7E6416?
The complementary color is HSL(225, 70%, 29%). 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, 70%, 29%) in CSS?
As HSL: color: hsl(45, 70%, 29%); — As HEX: color: #7E6416; — As RGB: color: rgb(126, 100, 22); — Tailwind CSS: bg-[hsl(45,70%,29%)] — CSS variable: --color-primary: hsl(45, 70%, 29%);