HSL(54, 79%, 47%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,79%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 79%, 47%) | color: hsl(54, 79%, 47%) | |
| HEX | #D7C419 | color: #D7C419 | |
| RGB | rgb(215, 196, 25) | color: rgb(215, 196, 25) | |
| CMYK | cmyk(0%, 9%, 88%, 16%) | — | |
| HSV | hsv(54, 88%, 84%) | — | |
| HWB | hwb(54 10% 16%) | color: hwb(54 10% 16%) | |
| OKLCH | oklch(0.8112 0.1657 102.14) | color: oklch(0.8112 0.1657 102.14) | |
| Lab | lab(78.46 -9.15 76.34) | color: lab(78.46 -9.15 76.34) | |
| LCH | lch(78.46 76.89 96.83) | color: lch(78.46 76.89 96.83) |
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)
#CFCF42 — rgb(207, 207, 66)
Deuteranopia (Green-blind)
#D0D14C — rgb(208, 209, 76)
Tritanopia (Blue-blind)
#D6636A — rgb(214, 99, 106)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 79%, 47%);
text
color: hsl(54, 79%, 47%);
border
border: 2px solid hsl(54, 79%, 47%);
gradient light
background: linear-gradient(to right, hsl(54, 79%, 67%), hsl(54, 79%, 47%));
gradient dark
background: linear-gradient(to right, hsl(54, 79%, 47%), hsl(54, 79%, 27%))
hex
background-color: #D7C419;
tailwind
bg-[hsl(54,79%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 79%, 47%, 0.4);
css variable
--color-primary: hsl(54, 79%, 47%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 79%, 47%)?
HEX: #D7C419 | RGB: rgb(215, 196, 25) | CMYK: 0%, 9%, 88%, 16% | HSV: 54°, 88%, 84%. Copy any format from the conversion table above.
What colors go well with #D7C419?
The complementary color is HSL(234, 79%, 47%). 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, 79%, 47%) in CSS?
As HSL: color: hsl(54, 79%, 47%); — As HEX: color: #D7C419; — As RGB: color: rgb(215, 196, 25); — Tailwind CSS: bg-[hsl(54,79%,47%)] — CSS variable: --color-primary: hsl(54, 79%, 47%);