HSL(46, 40%, 69%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,40%,69%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 40%, 69%) | color: hsl(46, 40%, 69%) | |
| HEX | #D0C190 | color: #D0C190 | |
| RGB | rgb(208, 193, 144) | color: rgb(208, 193, 144) | |
| CMYK | cmyk(0%, 7%, 31%, 18%) | — | |
| HSV | hsv(46, 31%, 82%) | — | |
| HWB | hwb(46 57% 18%) | color: hwb(46 57% 18%) | |
| OKLCH | oklch(0.8114 0.067 93.08) | color: oklch(0.8114 0.067 93.08) | |
| Lab | lab(78.21 -2.12 26.63) | color: lab(78.21 -2.12 26.63) | |
| LCH | lch(78.21 26.71 94.55) | color: lch(78.21 26.71 94.55) |
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)
#CAC99C — rgb(202, 201, 156)
Deuteranopia (Green-blind)
#CACC9F — rgb(202, 204, 159)
Tritanopia (Blue-blind)
#CFA5A7 — rgb(207, 165, 167)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 40%, 69%);
text
color: hsl(46, 40%, 69%);
border
border: 2px solid hsl(46, 40%, 69%);
gradient light
background: linear-gradient(to right, hsl(46, 40%, 89%), hsl(46, 40%, 69%));
gradient dark
background: linear-gradient(to right, hsl(46, 40%, 69%), hsl(46, 40%, 49%))
hex
background-color: #D0C190;
tailwind
bg-[hsl(46,40%,69%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 40%, 69%, 0.4);
css variable
--color-primary: hsl(46, 40%, 69%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 40%, 69%)?
HEX: #D0C190 | RGB: rgb(208, 193, 144) | CMYK: 0%, 7%, 31%, 18% | HSV: 46°, 31%, 82%. Copy any format from the conversion table above.
What colors go well with #D0C190?
The complementary color is HSL(226, 40%, 69%). 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, 40%, 69%) in CSS?
As HSL: color: hsl(46, 40%, 69%); — As HEX: color: #D0C190; — As RGB: color: rgb(208, 193, 144); — Tailwind CSS: bg-[hsl(46,40%,69%)] — CSS variable: --color-primary: hsl(46, 40%, 69%);