HSL(49, 52%, 55%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(49,52%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(49, 52%, 55%) | color: hsl(49, 52%, 55%) | |
| HEX | #C8B251 | color: #C8B251 | |
| RGB | rgb(200, 178, 81) | color: rgb(200, 178, 81) | |
| CMYK | cmyk(0%, 11%, 60%, 22%) | — | |
| HSV | hsv(49, 60%, 78%) | — | |
| HWB | hwb(49 31% 22%) | color: hwb(49 31% 22%) | |
| OKLCH | oklch(0.7634 0.1197 96.64) | color: oklch(0.7634 0.1197 96.64) | |
| Lab | lab(72.7 -3.86 51.41) | color: lab(72.7 -3.86 51.41) | |
| LCH | lch(72.7 51.55 94.29) | color: lch(72.7 51.55 94.29) |
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)
#BEBE68 — rgb(190, 190, 104)
Deuteranopia (Green-blind)
#C0C16E — rgb(192, 193, 110)
Tritanopia (Blue-blind)
#C77B7F — rgb(199, 123, 127)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(49, 52%, 55%);
text
color: hsl(49, 52%, 55%);
border
border: 2px solid hsl(49, 52%, 55%);
gradient light
background: linear-gradient(to right, hsl(49, 52%, 75%), hsl(49, 52%, 55%));
gradient dark
background: linear-gradient(to right, hsl(49, 52%, 55%), hsl(49, 52%, 35%))
hex
background-color: #C8B251;
tailwind
bg-[hsl(49,52%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(49, 52%, 55%, 0.4);
css variable
--color-primary: hsl(49, 52%, 55%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(49, 52%, 55%)?
HEX: #C8B251 | RGB: rgb(200, 178, 81) | CMYK: 0%, 11%, 60%, 22% | HSV: 49°, 60%, 78%. Copy any format from the conversion table above.
What colors go well with #C8B251?
The complementary color is HSL(229, 52%, 55%). 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, 52%, 55%) in CSS?
As HSL: color: hsl(49, 52%, 55%); — As HEX: color: #C8B251; — As RGB: color: rgb(200, 178, 81); — Tailwind CSS: bg-[hsl(49,52%,55%)] — CSS variable: --color-primary: hsl(49, 52%, 55%);