HSL(54, 50%, 57%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,50%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 50%, 57%) | color: hsl(54, 50%, 57%) | |
| HEX | #C8BD5B | color: #C8BD5B | |
| RGB | rgb(200, 189, 91) | color: rgb(200, 189, 91) | |
| CMYK | cmyk(0%, 5%, 55%, 22%) | — | |
| HSV | hsv(54, 55%, 78%) | — | |
| HWB | hwb(54 35% 22%) | color: hwb(54 35% 22%) | |
| OKLCH | oklch(0.7876 0.1204 102.93) | color: oklch(0.7876 0.1204 102.93) | |
| Lab | lab(75.72 -8.82 50.18) | color: lab(75.72 -8.82 50.18) | |
| LCH | lch(75.72 50.95 99.97) | color: lch(75.72 50.95 99.97) |
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)
#C3C373 — rgb(195, 195, 115)
Deuteranopia (Green-blind)
#C4C578 — rgb(196, 197, 120)
Tritanopia (Blue-blind)
#C7858A — rgb(199, 133, 138)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 50%, 57%);
text
color: hsl(54, 50%, 57%);
border
border: 2px solid hsl(54, 50%, 57%);
gradient light
background: linear-gradient(to right, hsl(54, 50%, 77%), hsl(54, 50%, 57%));
gradient dark
background: linear-gradient(to right, hsl(54, 50%, 57%), hsl(54, 50%, 37%))
hex
background-color: #C8BD5B;
tailwind
bg-[hsl(54,50%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 50%, 57%, 0.4);
css variable
--color-primary: hsl(54, 50%, 57%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 50%, 57%)?
HEX: #C8BD5B | RGB: rgb(200, 189, 91) | CMYK: 0%, 5%, 55%, 22% | HSV: 54°, 55%, 78%. Copy any format from the conversion table above.
What colors go well with #C8BD5B?
The complementary color is HSL(234, 50%, 57%). For a triadic harmony, use hues 54°, 174°, and 294°. For analogous combinations, try hues 24° and 84°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(54, 50%, 57%) in CSS?
As HSL: color: hsl(54, 50%, 57%); — As HEX: color: #C8BD5B; — As RGB: color: rgb(200, 189, 91); — Tailwind CSS: bg-[hsl(54,50%,57%)] — CSS variable: --color-primary: hsl(54, 50%, 57%);