HSL(52, 50%, 46%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,50%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 50%, 46%) | color: hsl(52, 50%, 46%) | |
| HEX | #B0A03B | color: #B0A03B | |
| RGB | rgb(176, 160, 59) | color: rgb(176, 160, 59) | |
| CMYK | cmyk(0%, 9%, 66%, 31%) | — | |
| HSV | hsv(52, 66%, 69%) | — | |
| HWB | hwb(52 23% 31%) | color: hwb(52 23% 31%) | |
| OKLCH | oklch(0.7005 0.1212 100.23) | color: oklch(0.7005 0.1212 100.23) | |
| Lab | lab(65.51 -6.16 52.81) | color: lab(65.51 -6.16 52.81) | |
| LCH | lch(65.51 53.17 96.65) | color: lch(65.51 53.17 96.65) |
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)
#A9A953 — rgb(169, 169, 83)
Deuteranopia (Green-blind)
#AAAB59 — rgb(170, 171, 89)
Tritanopia (Blue-blind)
#AF676B — rgb(175, 103, 107)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 50%, 46%);
text
color: hsl(52, 50%, 46%);
border
border: 2px solid hsl(52, 50%, 46%);
gradient light
background: linear-gradient(to right, hsl(52, 50%, 66%), hsl(52, 50%, 46%));
gradient dark
background: linear-gradient(to right, hsl(52, 50%, 46%), hsl(52, 50%, 26%))
hex
background-color: #B0A03B;
tailwind
bg-[hsl(52,50%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 50%, 46%, 0.4);
css variable
--color-primary: hsl(52, 50%, 46%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 50%, 46%)?
HEX: #B0A03B | RGB: rgb(176, 160, 59) | CMYK: 0%, 9%, 66%, 31% | HSV: 52°, 66%, 69%. Copy any format from the conversion table above.
What colors go well with #B0A03B?
The complementary color is HSL(232, 50%, 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, 50%, 46%) in CSS?
As HSL: color: hsl(52, 50%, 46%); — As HEX: color: #B0A03B; — As RGB: color: rgb(176, 160, 59); — Tailwind CSS: bg-[hsl(52,50%,46%)] — CSS variable: --color-primary: hsl(52, 50%, 46%);