HSL(52, 40%, 37%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,40%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 40%, 37%) | color: hsl(52, 40%, 37%) | |
| HEX | #847A39 | color: #847A39 | |
| RGB | rgb(132, 122, 57) | color: rgb(132, 122, 57) | |
| CMYK | cmyk(0%, 8%, 57%, 48%) | — | |
| HSV | hsv(52, 57%, 52%) | — | |
| HWB | hwb(52 22% 48%) | color: hwb(52 22% 48%) | |
| OKLCH | oklch(0.5743 0.0868 100.68) | color: oklch(0.5743 0.0868 100.68) | |
| Lab | lab(50.83 -5.16 36.44) | color: lab(50.83 -5.16 36.44) | |
| LCH | lch(50.83 36.8 98.06) | color: lch(50.83 36.8 98.06) |
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)
#808049 — rgb(128, 128, 73)
Deuteranopia (Green-blind)
#80814D — rgb(128, 129, 77)
Tritanopia (Blue-blind)
#845558 — rgb(132, 85, 88)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 40%, 37%);
text
color: hsl(52, 40%, 37%);
border
border: 2px solid hsl(52, 40%, 37%);
gradient light
background: linear-gradient(to right, hsl(52, 40%, 57%), hsl(52, 40%, 37%));
gradient dark
background: linear-gradient(to right, hsl(52, 40%, 37%), hsl(52, 40%, 17%))
hex
background-color: #847A39;
tailwind
bg-[hsl(52,40%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 40%, 37%, 0.4);
css variable
--color-primary: hsl(52, 40%, 37%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 40%, 37%)?
HEX: #847A39 | RGB: rgb(132, 122, 57) | CMYK: 0%, 8%, 57%, 48% | HSV: 52°, 57%, 52%. Copy any format from the conversion table above.
What colors go well with #847A39?
The complementary color is HSL(232, 40%, 37%). For a triadic harmony, use hues 52°, 172°, and 292°. For analogous combinations, try hues 22° and 82°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(52, 40%, 37%) in CSS?
As HSL: color: hsl(52, 40%, 37%); — As HEX: color: #847A39; — As RGB: color: rgb(132, 122, 57); — Tailwind CSS: bg-[hsl(52,40%,37%)] — CSS variable: --color-primary: hsl(52, 40%, 37%);