HSL(51, 55%, 52%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,55%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 55%, 52%) | color: hsl(51, 55%, 52%) | |
| HEX | #C8B441 | color: #C8B441 | |
| RGB | rgb(200, 180, 65) | color: rgb(200, 180, 65) | |
| CMYK | cmyk(0%, 10%, 68%, 22%) | — | |
| HSV | hsv(51, 68%, 78%) | — | |
| HWB | hwb(51 25% 22%) | color: hwb(51 25% 22%) | |
| OKLCH | oklch(0.766 0.1341 99.29) | color: oklch(0.766 0.1341 99.29) | |
| Lab | lab(73.09 -5.93 58.85) | color: lab(73.09 -5.93 58.85) | |
| LCH | lch(73.09 59.15 95.75) | color: lch(73.09 59.15 95.75) |
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)
#BFBF5D — rgb(191, 191, 93)
Deuteranopia (Green-blind)
#C1C264 — rgb(193, 194, 100)
Tritanopia (Blue-blind)
#C77378 — rgb(199, 115, 120)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 55%, 52%);
text
color: hsl(51, 55%, 52%);
border
border: 2px solid hsl(51, 55%, 52%);
gradient light
background: linear-gradient(to right, hsl(51, 55%, 72%), hsl(51, 55%, 52%));
gradient dark
background: linear-gradient(to right, hsl(51, 55%, 52%), hsl(51, 55%, 32%))
hex
background-color: #C8B441;
tailwind
bg-[hsl(51,55%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 55%, 52%, 0.4);
css variable
--color-primary: hsl(51, 55%, 52%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 55%, 52%)?
HEX: #C8B441 | RGB: rgb(200, 180, 65) | CMYK: 0%, 10%, 68%, 22% | HSV: 51°, 68%, 78%. Copy any format from the conversion table above.
What colors go well with #C8B441?
The complementary color is HSL(231, 55%, 52%). For a triadic harmony, use hues 51°, 171°, and 291°. For analogous combinations, try hues 21° and 81°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(51, 55%, 52%) in CSS?
As HSL: color: hsl(51, 55%, 52%); — As HEX: color: #C8B441; — As RGB: color: rgb(200, 180, 65); — Tailwind CSS: bg-[hsl(51,55%,52%)] — CSS variable: --color-primary: hsl(51, 55%, 52%);