HSL(52, 47%, 46%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,47%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 47%, 46%) | color: hsl(52, 47%, 46%) | |
| HEX | #AC9E3E | color: #AC9E3E | |
| RGB | rgb(172, 158, 62) | color: rgb(172, 158, 62) | |
| CMYK | cmyk(0%, 8%, 64%, 33%) | — | |
| HSV | hsv(52, 64%, 67%) | — | |
| HWB | hwb(52 24% 33%) | color: hwb(52 24% 33%) | |
| OKLCH | oklch(0.6927 0.117 101.01) | color: oklch(0.6927 0.117 101.01) | |
| Lab | lab(64.62 -6.66 50.45) | color: lab(64.62 -6.66 50.45) | |
| LCH | lch(64.62 50.89 97.52) | color: lch(64.62 50.89 97.52) |
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)
#A6A655 — rgb(166, 166, 85)
Deuteranopia (Green-blind)
#A7A85B — rgb(167, 168, 91)
Tritanopia (Blue-blind)
#AB686C — rgb(171, 104, 108)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 47%, 46%);
text
color: hsl(52, 47%, 46%);
border
border: 2px solid hsl(52, 47%, 46%);
gradient light
background: linear-gradient(to right, hsl(52, 47%, 66%), hsl(52, 47%, 46%));
gradient dark
background: linear-gradient(to right, hsl(52, 47%, 46%), hsl(52, 47%, 26%))
hex
background-color: #AC9E3E;
tailwind
bg-[hsl(52,47%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 47%, 46%, 0.4);
css variable
--color-primary: hsl(52, 47%, 46%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 47%, 46%)?
HEX: #AC9E3E | RGB: rgb(172, 158, 62) | CMYK: 0%, 8%, 64%, 33% | HSV: 52°, 64%, 67%. Copy any format from the conversion table above.
What colors go well with #AC9E3E?
The complementary color is HSL(232, 47%, 46%). 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, 47%, 46%) in CSS?
As HSL: color: hsl(52, 47%, 46%); — As HEX: color: #AC9E3E; — As RGB: color: rgb(172, 158, 62); — Tailwind CSS: bg-[hsl(52,47%,46%)] — CSS variable: --color-primary: hsl(52, 47%, 46%);