HSL(52, 75%, 36%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,75%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 75%, 36%) | color: hsl(52, 75%, 36%) | |
| HEX | #A18E17 | color: #A18E17 | |
| RGB | rgb(161, 142, 23) | color: rgb(161, 142, 23) | |
| CMYK | cmyk(0%, 12%, 86%, 37%) | — | |
| HSV | hsv(52, 86%, 63%) | — | |
| HWB | hwb(52 9% 37%) | color: hwb(52 9% 37%) | |
| OKLCH | oklch(0.6446 0.1278 99.18) | color: oklch(0.6446 0.1278 99.18) | |
| Lab | lab(58.96 -4.78 58.95) | color: lab(58.96 -4.78 58.95) | |
| LCH | lch(58.96 59.14 94.64) | color: lch(58.96 59.14 94.64) |
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)
#999934 — rgb(153, 153, 52)
Deuteranopia (Green-blind)
#9A9B3B — rgb(154, 155, 59)
Tritanopia (Blue-blind)
#A04B50 — rgb(160, 75, 80)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 75%, 36%);
text
color: hsl(52, 75%, 36%);
border
border: 2px solid hsl(52, 75%, 36%);
gradient light
background: linear-gradient(to right, hsl(52, 75%, 56%), hsl(52, 75%, 36%));
gradient dark
background: linear-gradient(to right, hsl(52, 75%, 36%), hsl(52, 75%, 16%))
hex
background-color: #A18E17;
tailwind
bg-[hsl(52,75%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 75%, 36%, 0.4);
css variable
--color-primary: hsl(52, 75%, 36%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 75%, 36%)?
HEX: #A18E17 | RGB: rgb(161, 142, 23) | CMYK: 0%, 12%, 86%, 37% | HSV: 52°, 86%, 63%. Copy any format from the conversion table above.
What colors go well with #A18E17?
The complementary color is HSL(232, 75%, 36%). 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, 75%, 36%) in CSS?
As HSL: color: hsl(52, 75%, 36%); — As HEX: color: #A18E17; — As RGB: color: rgb(161, 142, 23); — Tailwind CSS: bg-[hsl(52,75%,36%)] — CSS variable: --color-primary: hsl(52, 75%, 36%);