HSL(47, 40%, 66%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(47,40%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 40%, 66%) | color: hsl(47, 40%, 66%) | |
| HEX | #CBBC86 | color: #CBBC86 | |
| RGB | rgb(203, 188, 134) | color: rgb(203, 188, 134) | |
| CMYK | cmyk(0%, 7%, 34%, 20%) | — | |
| HSV | hsv(47, 34%, 80%) | — | |
| HWB | hwb(47 53% 20%) | color: hwb(47 53% 20%) | |
| OKLCH | oklch(0.7948 0.0732 94.44) | color: oklch(0.7948 0.0732 94.44) | |
| Lab | lab(76.31 -2.72 29.29) | color: lab(76.31 -2.72 29.29) | |
| LCH | lch(76.31 29.42 95.31) | color: lch(76.31 29.42 95.31) |
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)
#C5C493 — rgb(197, 196, 147)
Deuteranopia (Green-blind)
#C5C796 — rgb(197, 199, 150)
Tritanopia (Blue-blind)
#CA9DA0 — rgb(202, 157, 160)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 40%, 66%);
text
color: hsl(47, 40%, 66%);
border
border: 2px solid hsl(47, 40%, 66%);
gradient light
background: linear-gradient(to right, hsl(47, 40%, 86%), hsl(47, 40%, 66%));
gradient dark
background: linear-gradient(to right, hsl(47, 40%, 66%), hsl(47, 40%, 46%))
hex
background-color: #CBBC86;
tailwind
bg-[hsl(47,40%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 40%, 66%, 0.4);
css variable
--color-primary: hsl(47, 40%, 66%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 40%, 66%)?
HEX: #CBBC86 | RGB: rgb(203, 188, 134) | CMYK: 0%, 7%, 34%, 20% | HSV: 47°, 34%, 80%. Copy any format from the conversion table above.
What colors go well with #CBBC86?
The complementary color is HSL(227, 40%, 66%). For a triadic harmony, use hues 47°, 167°, and 287°. For analogous combinations, try hues 17° and 77°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(47, 40%, 66%) in CSS?
As HSL: color: hsl(47, 40%, 66%); — As HEX: color: #CBBC86; — As RGB: color: rgb(203, 188, 134); — Tailwind CSS: bg-[hsl(47,40%,66%)] — CSS variable: --color-primary: hsl(47, 40%, 66%);