HSL(52, 33%, 56%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,33%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 33%, 56%) | color: hsl(52, 33%, 56%) | |
| HEX | #B4AA6A | color: #B4AA6A | |
| RGB | rgb(180, 170, 106) | color: rgb(180, 170, 106) | |
| CMYK | cmyk(0%, 6%, 41%, 29%) | — | |
| HSV | hsv(52, 41%, 71%) | — | |
| HWB | hwb(52 42% 29%) | color: hwb(52 42% 29%) | |
| OKLCH | oklch(0.7317 0.085 100.5) | color: oklch(0.7317 0.085 100.5) | |
| Lab | lab(69.11 -5.75 34.25) | color: lab(69.11 -5.75 34.25) | |
| LCH | lch(69.11 34.73 99.53) | color: lch(69.11 34.73 99.53) |
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)
#B0B079 — rgb(176, 176, 121)
Deuteranopia (Green-blind)
#B0B17D — rgb(176, 177, 125)
Tritanopia (Blue-blind)
#B48688 — rgb(180, 134, 136)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 33%, 56%);
text
color: hsl(52, 33%, 56%);
border
border: 2px solid hsl(52, 33%, 56%);
gradient light
background: linear-gradient(to right, hsl(52, 33%, 76%), hsl(52, 33%, 56%));
gradient dark
background: linear-gradient(to right, hsl(52, 33%, 56%), hsl(52, 33%, 36%))
hex
background-color: #B4AA6A;
tailwind
bg-[hsl(52,33%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 33%, 56%, 0.4);
css variable
--color-primary: hsl(52, 33%, 56%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 33%, 56%)?
HEX: #B4AA6A | RGB: rgb(180, 170, 106) | CMYK: 0%, 6%, 41%, 29% | HSV: 52°, 41%, 71%. Copy any format from the conversion table above.
What colors go well with #B4AA6A?
The complementary color is HSL(232, 33%, 56%). 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, 33%, 56%) in CSS?
As HSL: color: hsl(52, 33%, 56%); — As HEX: color: #B4AA6A; — As RGB: color: rgb(180, 170, 106); — Tailwind CSS: bg-[hsl(52,33%,56%)] — CSS variable: --color-primary: hsl(52, 33%, 56%);