HSL(46, 60%, 53%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,60%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 60%, 53%) | color: hsl(46, 60%, 53%) | |
| HEX | #CFAE3F | color: #CFAE3F | |
| RGB | rgb(207, 174, 63) | color: rgb(207, 174, 63) | |
| CMYK | cmyk(0%, 16%, 70%, 19%) | — | |
| HSV | hsv(46, 70%, 81%) | — | |
| HWB | hwb(46 24% 19%) | color: hwb(46 24% 19%) | |
| OKLCH | oklch(0.7601 0.132 92.15) | color: oklch(0.7601 0.132 92.15) | |
| Lab | lab(72.16 0.13 58.92) | color: lab(72.16 0.13 58.92) | |
| LCH | lch(72.16 58.92 89.87) | color: lch(72.16 58.92 89.87) |
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)
#C1C05A — rgb(193, 192, 90)
Deuteranopia (Green-blind)
#C3C560 — rgb(195, 197, 96)
Tritanopia (Blue-blind)
#CD6F74 — rgb(205, 111, 116)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 60%, 53%);
text
color: hsl(46, 60%, 53%);
border
border: 2px solid hsl(46, 60%, 53%);
gradient light
background: linear-gradient(to right, hsl(46, 60%, 73%), hsl(46, 60%, 53%));
gradient dark
background: linear-gradient(to right, hsl(46, 60%, 53%), hsl(46, 60%, 33%))
hex
background-color: #CFAE3F;
tailwind
bg-[hsl(46,60%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 60%, 53%, 0.4);
css variable
--color-primary: hsl(46, 60%, 53%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 60%, 53%)?
HEX: #CFAE3F | RGB: rgb(207, 174, 63) | CMYK: 0%, 16%, 70%, 19% | HSV: 46°, 70%, 81%. Copy any format from the conversion table above.
What colors go well with #CFAE3F?
The complementary color is HSL(226, 60%, 53%). For a triadic harmony, use hues 46°, 166°, and 286°. For analogous combinations, try hues 16° and 76°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(46, 60%, 53%) in CSS?
As HSL: color: hsl(46, 60%, 53%); — As HEX: color: #CFAE3F; — As RGB: color: rgb(207, 174, 63); — Tailwind CSS: bg-[hsl(46,60%,53%)] — CSS variable: --color-primary: hsl(46, 60%, 53%);