HSL(47, 40%, 35%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(47,40%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 40%, 35%) | color: hsl(47, 40%, 35%) | |
| HEX | #7D6D36 | color: #7D6D36 | |
| RGB | rgb(125, 109, 54) | color: rgb(125, 109, 54) | |
| CMYK | cmyk(0%, 13%, 57%, 51%) | — | |
| HSV | hsv(46, 57%, 49%) | — | |
| HWB | hwb(46 21% 51%) | color: hwb(46 21% 51%) | |
| OKLCH | oklch(0.5375 0.077 93.44) | color: oklch(0.5375 0.077 93.44) | |
| Lab | lab(46.4 -1.22 32.66) | color: lab(46.4 -1.22 32.66) | |
| LCH | lch(46.4 32.68 92.14) | color: lch(46.4 32.68 92.14) |
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)
#767643 — rgb(118, 118, 67)
Deuteranopia (Green-blind)
#777847 — rgb(119, 120, 71)
Tritanopia (Blue-blind)
#7C4E50 — rgb(124, 78, 80)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 40%, 35%);
text
color: hsl(47, 40%, 35%);
border
border: 2px solid hsl(47, 40%, 35%);
gradient light
background: linear-gradient(to right, hsl(47, 40%, 55%), hsl(47, 40%, 35%));
gradient dark
background: linear-gradient(to right, hsl(47, 40%, 35%), hsl(47, 40%, 15%))
hex
background-color: #7D6D36;
tailwind
bg-[hsl(47,40%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 40%, 35%, 0.4);
css variable
--color-primary: hsl(47, 40%, 35%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 40%, 35%)?
HEX: #7D6D36 | RGB: rgb(125, 109, 54) | CMYK: 0%, 13%, 57%, 51% | HSV: 46°, 57%, 49%. Copy any format from the conversion table above.
What colors go well with #7D6D36?
The complementary color is HSL(227, 40%, 35%). For a triadic harmony, use hues 47°, 167°, and 287°. For analogous combinations, try hues 17° and 77°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(47, 40%, 35%) in CSS?
As HSL: color: hsl(47, 40%, 35%); — As HEX: color: #7D6D36; — As RGB: color: rgb(125, 109, 54); — Tailwind CSS: bg-[hsl(47,40%,35%)] — CSS variable: --color-primary: hsl(47, 40%, 35%);