HSL(52, 67%, 40%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,67%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 67%, 40%) | color: hsl(52, 67%, 40%) | |
| HEX | #AA9822 | color: #AA9822 | |
| RGB | rgb(170, 152, 34) | color: rgb(170, 152, 34) | |
| CMYK | cmyk(0%, 11%, 80%, 33%) | — | |
| HSV | hsv(52, 80%, 67%) | — | |
| HWB | hwb(52 13% 33%) | color: hwb(52 13% 33%) | |
| OKLCH | oklch(0.6757 0.1305 100) | color: oklch(0.6757 0.1305 100) | |
| Lab | lab(62.61 -5.76 59.26) | color: lab(62.61 -5.76 59.26) | |
| LCH | lch(62.61 59.54 95.55) | color: lch(62.61 59.54 95.55) |
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)
#A2A23F — rgb(162, 162, 63)
Deuteranopia (Green-blind)
#A3A545 — rgb(163, 165, 69)
Tritanopia (Blue-blind)
#A9555A — rgb(169, 85, 90)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 67%, 40%);
text
color: hsl(52, 67%, 40%);
border
border: 2px solid hsl(52, 67%, 40%);
gradient light
background: linear-gradient(to right, hsl(52, 67%, 60%), hsl(52, 67%, 40%));
gradient dark
background: linear-gradient(to right, hsl(52, 67%, 40%), hsl(52, 67%, 20%))
hex
background-color: #AA9822;
tailwind
bg-[hsl(52,67%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 67%, 40%, 0.4);
css variable
--color-primary: hsl(52, 67%, 40%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 67%, 40%)?
HEX: #AA9822 | RGB: rgb(170, 152, 34) | CMYK: 0%, 11%, 80%, 33% | HSV: 52°, 80%, 67%. Copy any format from the conversion table above.
What colors go well with #AA9822?
The complementary color is HSL(232, 67%, 40%). 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, 67%, 40%) in CSS?
As HSL: color: hsl(52, 67%, 40%); — As HEX: color: #AA9822; — As RGB: color: rgb(170, 152, 34); — Tailwind CSS: bg-[hsl(52,67%,40%)] — CSS variable: --color-primary: hsl(52, 67%, 40%);