HSL(49, 55%, 52%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(49,55%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(49, 55%, 52%) | color: hsl(49, 55%, 52%) | |
| HEX | #C8AF41 | color: #C8AF41 | |
| RGB | rgb(200, 175, 65) | color: rgb(200, 175, 65) | |
| CMYK | cmyk(0%, 13%, 68%, 22%) | — | |
| HSV | hsv(49, 68%, 78%) | — | |
| HWB | hwb(49 25% 22%) | color: hwb(49 25% 22%) | |
| OKLCH | oklch(0.7556 0.1302 96.24) | color: oklch(0.7556 0.1302 96.24) | |
| Lab | lab(71.77 -3.31 57.49) | color: lab(71.77 -3.31 57.49) | |
| LCH | lch(71.77 57.59 93.3) | color: lch(71.77 57.59 93.3) |
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)
#BDBD5C — rgb(189, 189, 92)
Deuteranopia (Green-blind)
#BFC162 — rgb(191, 193, 98)
Tritanopia (Blue-blind)
#C77175 — rgb(199, 113, 117)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(49, 55%, 52%);
text
color: hsl(49, 55%, 52%);
border
border: 2px solid hsl(49, 55%, 52%);
gradient light
background: linear-gradient(to right, hsl(49, 55%, 72%), hsl(49, 55%, 52%));
gradient dark
background: linear-gradient(to right, hsl(49, 55%, 52%), hsl(49, 55%, 32%))
hex
background-color: #C8AF41;
tailwind
bg-[hsl(49,55%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(49, 55%, 52%, 0.4);
css variable
--color-primary: hsl(49, 55%, 52%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(49, 55%, 52%)?
HEX: #C8AF41 | RGB: rgb(200, 175, 65) | CMYK: 0%, 13%, 68%, 22% | HSV: 49°, 68%, 78%. Copy any format from the conversion table above.
What colors go well with #C8AF41?
The complementary color is HSL(229, 55%, 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, 55%, 52%) in CSS?
As HSL: color: hsl(49, 55%, 52%); — As HEX: color: #C8AF41; — As RGB: color: rgb(200, 175, 65); — Tailwind CSS: bg-[hsl(49,55%,52%)] — CSS variable: --color-primary: hsl(49, 55%, 52%);