HSL(54, 50%, 52%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,50%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 50%, 52%) | color: hsl(54, 50%, 52%) | |
| HEX | #C2B647 | color: #C2B647 | |
| RGB | rgb(194, 182, 71) | color: rgb(194, 182, 71) | |
| CMYK | cmyk(0%, 6%, 63%, 24%) | — | |
| HSV | hsv(54, 63%, 76%) | — | |
| HWB | hwb(54 28% 24%) | color: hwb(54 28% 24%) | |
| OKLCH | oklch(0.7653 0.1313 103.15) | color: oklch(0.7653 0.1313 103.15) | |
| Lab | lab(73.14 -9.18 56.22) | color: lab(73.14 -9.18 56.22) | |
| LCH | lch(73.14 56.96 99.27) | color: lch(73.14 56.96 99.27) |
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)
#BDBD62 — rgb(189, 189, 98)
Deuteranopia (Green-blind)
#BEBE68 — rgb(190, 190, 104)
Tritanopia (Blue-blind)
#C1777C — rgb(193, 119, 124)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 50%, 52%);
text
color: hsl(54, 50%, 52%);
border
border: 2px solid hsl(54, 50%, 52%);
gradient light
background: linear-gradient(to right, hsl(54, 50%, 72%), hsl(54, 50%, 52%));
gradient dark
background: linear-gradient(to right, hsl(54, 50%, 52%), hsl(54, 50%, 32%))
hex
background-color: #C2B647;
tailwind
bg-[hsl(54,50%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 50%, 52%, 0.4);
css variable
--color-primary: hsl(54, 50%, 52%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 50%, 52%)?
HEX: #C2B647 | RGB: rgb(194, 182, 71) | CMYK: 0%, 6%, 63%, 24% | HSV: 54°, 63%, 76%. Copy any format from the conversion table above.
What colors go well with #C2B647?
The complementary color is HSL(234, 50%, 52%). 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%, 52%) in CSS?
As HSL: color: hsl(54, 50%, 52%); — As HEX: color: #C2B647; — As RGB: color: rgb(194, 182, 71); — Tailwind CSS: bg-[hsl(54,50%,52%)] — CSS variable: --color-primary: hsl(54, 50%, 52%);