HSL(49, 50%, 52%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(49,50%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(49, 50%, 52%) | color: hsl(49, 50%, 52%) | |
| HEX | #C2AB47 | color: #C2AB47 | |
| RGB | rgb(194, 171, 71) | color: rgb(194, 171, 71) | |
| CMYK | cmyk(0%, 12%, 63%, 24%) | — | |
| HSV | hsv(49, 63%, 76%) | — | |
| HWB | hwb(49 28% 24%) | color: hwb(49 28% 24%) | |
| OKLCH | oklch(0.7421 0.1219 96.31) | color: oklch(0.7421 0.1219 96.31) | |
| Lab | lab(70.21 -3.42 53.06) | color: lab(70.21 -3.42 53.06) | |
| LCH | lch(70.21 53.17 93.69) | color: lch(70.21 53.17 93.69) |
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)
#B8B85F — rgb(184, 184, 95)
Deuteranopia (Green-blind)
#B9BB65 — rgb(185, 187, 101)
Tritanopia (Blue-blind)
#C17277 — rgb(193, 114, 119)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(49, 50%, 52%);
text
color: hsl(49, 50%, 52%);
border
border: 2px solid hsl(49, 50%, 52%);
gradient light
background: linear-gradient(to right, hsl(49, 50%, 72%), hsl(49, 50%, 52%));
gradient dark
background: linear-gradient(to right, hsl(49, 50%, 52%), hsl(49, 50%, 32%))
hex
background-color: #C2AB47;
tailwind
bg-[hsl(49,50%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(49, 50%, 52%, 0.4);
css variable
--color-primary: hsl(49, 50%, 52%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(49, 50%, 52%)?
HEX: #C2AB47 | RGB: rgb(194, 171, 71) | CMYK: 0%, 12%, 63%, 24% | HSV: 49°, 63%, 76%. Copy any format from the conversion table above.
What colors go well with #C2AB47?
The complementary color is HSL(229, 50%, 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, 50%, 52%) in CSS?
As HSL: color: hsl(49, 50%, 52%); — As HEX: color: #C2AB47; — As RGB: color: rgb(194, 171, 71); — Tailwind CSS: bg-[hsl(49,50%,52%)] — CSS variable: --color-primary: hsl(49, 50%, 52%);