HSL(53, 50%, 45%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(53,50%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(53, 50%, 45%) | color: hsl(53, 50%, 45%) | |
| HEX | #AC9F39 | color: #AC9F39 | |
| RGB | rgb(172, 159, 57) | color: rgb(172, 159, 57) | |
| CMYK | cmyk(0%, 8%, 67%, 33%) | — | |
| HSV | hsv(53, 67%, 67%) | — | |
| HWB | hwb(53 22% 33%) | color: hwb(53 22% 33%) | |
| OKLCH | oklch(0.6945 0.1219 102) | color: oklch(0.6945 0.1219 102) | |
| Lab | lab(64.85 -7.51 52.87) | color: lab(64.85 -7.51 52.87) | |
| LCH | lch(64.85 53.4 98.08) | color: lch(64.85 53.4 98.08) |
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)
#A6A652 — rgb(166, 166, 82)
Deuteranopia (Green-blind)
#A7A858 — rgb(167, 168, 88)
Tritanopia (Blue-blind)
#AB6569 — rgb(171, 101, 105)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(53, 50%, 45%);
text
color: hsl(53, 50%, 45%);
border
border: 2px solid hsl(53, 50%, 45%);
gradient light
background: linear-gradient(to right, hsl(53, 50%, 65%), hsl(53, 50%, 45%));
gradient dark
background: linear-gradient(to right, hsl(53, 50%, 45%), hsl(53, 50%, 25%))
hex
background-color: #AC9F39;
tailwind
bg-[hsl(53,50%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(53, 50%, 45%, 0.4);
css variable
--color-primary: hsl(53, 50%, 45%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(53, 50%, 45%)?
HEX: #AC9F39 | RGB: rgb(172, 159, 57) | CMYK: 0%, 8%, 67%, 33% | HSV: 53°, 67%, 67%. Copy any format from the conversion table above.
What colors go well with #AC9F39?
The complementary color is HSL(233, 50%, 45%). For a triadic harmony, use hues 53°, 173°, and 293°. For analogous combinations, try hues 23° and 83°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(53, 50%, 45%) in CSS?
As HSL: color: hsl(53, 50%, 45%); — As HEX: color: #AC9F39; — As RGB: color: rgb(172, 159, 57); — Tailwind CSS: bg-[hsl(53,50%,45%)] — CSS variable: --color-primary: hsl(53, 50%, 45%);