HSL(49, 35%, 52%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(49,35%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(49, 35%, 52%) | color: hsl(49, 35%, 52%) | |
| HEX | #AFA05A | color: #AFA05A | |
| RGB | rgb(175, 160, 90) | color: rgb(175, 160, 90) | |
| CMYK | cmyk(0%, 9%, 49%, 31%) | — | |
| HSV | hsv(49, 49%, 69%) | — | |
| HWB | hwb(49 35% 31%) | color: hwb(49 35% 31%) | |
| OKLCH | oklch(0.7033 0.0924 97.55) | color: oklch(0.7033 0.0924 97.55) | |
| Lab | lab(65.74 -4.16 38.26) | color: lab(65.74 -4.16 38.26) | |
| LCH | lch(65.74 38.49 96.21) | color: lch(65.74 38.49 96.21) |
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)
#A9A86B — rgb(169, 168, 107)
Deuteranopia (Green-blind)
#A9AB6F — rgb(169, 171, 111)
Tritanopia (Blue-blind)
#AE787B — rgb(174, 120, 123)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(49, 35%, 52%);
text
color: hsl(49, 35%, 52%);
border
border: 2px solid hsl(49, 35%, 52%);
gradient light
background: linear-gradient(to right, hsl(49, 35%, 72%), hsl(49, 35%, 52%));
gradient dark
background: linear-gradient(to right, hsl(49, 35%, 52%), hsl(49, 35%, 32%))
hex
background-color: #AFA05A;
tailwind
bg-[hsl(49,35%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(49, 35%, 52%, 0.4);
css variable
--color-primary: hsl(49, 35%, 52%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(49, 35%, 52%)?
HEX: #AFA05A | RGB: rgb(175, 160, 90) | CMYK: 0%, 9%, 49%, 31% | HSV: 49°, 49%, 69%. Copy any format from the conversion table above.
What colors go well with #AFA05A?
The complementary color is HSL(229, 35%, 52%). For a triadic harmony, use hues 49°, 169°, and 289°. For analogous combinations, try hues 19° and 79°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(49, 35%, 52%) in CSS?
As HSL: color: hsl(49, 35%, 52%); — As HEX: color: #AFA05A; — As RGB: color: rgb(175, 160, 90); — Tailwind CSS: bg-[hsl(49,35%,52%)] — CSS variable: --color-primary: hsl(49, 35%, 52%);