HSL(47, 22%, 64%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(47,22%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 22%, 64%) | color: hsl(47, 22%, 64%) | |
| HEX | #B7AF8F | color: #B7AF8F | |
| RGB | rgb(183, 175, 143) | color: rgb(183, 175, 143) | |
| CMYK | cmyk(0%, 4%, 22%, 28%) | — | |
| HSV | hsv(48, 22%, 72%) | — | |
| HWB | hwb(48 56% 28%) | color: hwb(48 56% 28%) | |
| OKLCH | oklch(0.7523 0.0449 95.61) | color: oklch(0.7523 0.0449 95.61) | |
| Lab | lab(71.36 -2.43 17.47) | color: lab(71.36 -2.43 17.47) | |
| LCH | lch(71.36 17.64 97.92) | color: lch(71.36 17.64 97.92) |
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)
#B4B397 — rgb(180, 179, 151)
Deuteranopia (Green-blind)
#B4B599 — rgb(180, 181, 153)
Tritanopia (Blue-blind)
#B79D9E — rgb(183, 157, 158)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 22%, 64%);
text
color: hsl(47, 22%, 64%);
border
border: 2px solid hsl(47, 22%, 64%);
gradient light
background: linear-gradient(to right, hsl(47, 22%, 84%), hsl(47, 22%, 64%));
gradient dark
background: linear-gradient(to right, hsl(47, 22%, 64%), hsl(47, 22%, 44%))
hex
background-color: #B7AF8F;
tailwind
bg-[hsl(47,22%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 22%, 64%, 0.4);
css variable
--color-primary: hsl(47, 22%, 64%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 22%, 64%)?
HEX: #B7AF8F | RGB: rgb(183, 175, 143) | CMYK: 0%, 4%, 22%, 28% | HSV: 48°, 22%, 72%. Copy any format from the conversion table above.
What colors go well with #B7AF8F?
The complementary color is HSL(227, 22%, 64%). 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, 22%, 64%) in CSS?
As HSL: color: hsl(47, 22%, 64%); — As HEX: color: #B7AF8F; — As RGB: color: rgb(183, 175, 143); — Tailwind CSS: bg-[hsl(47,22%,64%)] — CSS variable: --color-primary: hsl(47, 22%, 64%);