HSL(46, 52%, 61%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,52%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 52%, 61%) | color: hsl(46, 52%, 61%) | |
| HEX | #CFB768 | color: #CFB768 | |
| RGB | rgb(207, 183, 104) | color: rgb(207, 183, 104) | |
| CMYK | cmyk(0%, 12%, 50%, 19%) | — | |
| HSV | hsv(46, 50%, 81%) | — | |
| HWB | hwb(46 41% 19%) | color: hwb(46 41% 19%) | |
| OKLCH | oklch(0.7832 0.103 92.96) | color: oklch(0.7832 0.103 92.96) | |
| Lab | lab(74.91 -1.67 43.04) | color: lab(74.91 -1.67 43.04) | |
| LCH | lch(74.91 43.07 92.22) | color: lch(74.91 43.07 92.22) |
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)
#C5C47B — rgb(197, 196, 123)
Deuteranopia (Green-blind)
#C6C880 — rgb(198, 200, 128)
Tritanopia (Blue-blind)
#CE8A8E — rgb(206, 138, 142)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 52%, 61%);
text
color: hsl(46, 52%, 61%);
border
border: 2px solid hsl(46, 52%, 61%);
gradient light
background: linear-gradient(to right, hsl(46, 52%, 81%), hsl(46, 52%, 61%));
gradient dark
background: linear-gradient(to right, hsl(46, 52%, 61%), hsl(46, 52%, 41%))
hex
background-color: #CFB768;
tailwind
bg-[hsl(46,52%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 52%, 61%, 0.4);
css variable
--color-primary: hsl(46, 52%, 61%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 52%, 61%)?
HEX: #CFB768 | RGB: rgb(207, 183, 104) | CMYK: 0%, 12%, 50%, 19% | HSV: 46°, 50%, 81%. Copy any format from the conversion table above.
What colors go well with #CFB768?
The complementary color is HSL(226, 52%, 61%). 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, 52%, 61%) in CSS?
As HSL: color: hsl(46, 52%, 61%); — As HEX: color: #CFB768; — As RGB: color: rgb(207, 183, 104); — Tailwind CSS: bg-[hsl(46,52%,61%)] — CSS variable: --color-primary: hsl(46, 52%, 61%);