HSL(47, 40%, 37%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(47,40%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 40%, 37%) | color: hsl(47, 40%, 37%) | |
| HEX | #847439 | color: #847439 | |
| RGB | rgb(132, 116, 57) | color: rgb(132, 116, 57) | |
| CMYK | cmyk(0%, 12%, 57%, 48%) | — | |
| HSV | hsv(47, 57%, 52%) | — | |
| HWB | hwb(47 22% 48%) | color: hwb(47 22% 48%) | |
| OKLCH | oklch(0.5608 0.0812 94.45) | color: oklch(0.5608 0.0812 94.45) | |
| Lab | lab(49.12 -1.77 34.45) | color: lab(49.12 -1.77 34.45) | |
| LCH | lch(49.12 34.5 92.94) | color: lch(49.12 34.5 92.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: white
Color Blindness Simulation
Protanopia (Red-blind)
#7D7D47 — rgb(125, 125, 71)
Deuteranopia (Green-blind)
#7E7F4B — rgb(126, 127, 75)
Tritanopia (Blue-blind)
#835355 — rgb(131, 83, 85)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 40%, 37%);
text
color: hsl(47, 40%, 37%);
border
border: 2px solid hsl(47, 40%, 37%);
gradient light
background: linear-gradient(to right, hsl(47, 40%, 57%), hsl(47, 40%, 37%));
gradient dark
background: linear-gradient(to right, hsl(47, 40%, 37%), hsl(47, 40%, 17%))
hex
background-color: #847439;
tailwind
bg-[hsl(47,40%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 40%, 37%, 0.4);
css variable
--color-primary: hsl(47, 40%, 37%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 40%, 37%)?
HEX: #847439 | RGB: rgb(132, 116, 57) | CMYK: 0%, 12%, 57%, 48% | HSV: 47°, 57%, 52%. Copy any format from the conversion table above.
What colors go well with #847439?
The complementary color is HSL(227, 40%, 37%). 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%, 37%) in CSS?
As HSL: color: hsl(47, 40%, 37%); — As HEX: color: #847439; — As RGB: color: rgb(132, 116, 57); — Tailwind CSS: bg-[hsl(47,40%,37%)] — CSS variable: --color-primary: hsl(47, 40%, 37%);