HSL(52, 22%, 47%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,22%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 22%, 47%) | color: hsl(52, 22%, 47%) | |
| HEX | #928B5D | color: #928B5D | |
| RGB | rgb(146, 139, 93) | color: rgb(146, 139, 93) | |
| CMYK | cmyk(0%, 5%, 36%, 43%) | — | |
| HSV | hsv(52, 36%, 57%) | — | |
| HWB | hwb(52 36% 43%) | color: hwb(52 36% 43%) | |
| OKLCH | oklch(0.6314 0.0644 100.61) | color: oklch(0.6314 0.0644 100.61) | |
| Lab | lab(57.43 -4.65 25.58) | color: lab(57.43 -4.65 25.58) | |
| LCH | lch(57.43 26 100.3) | color: lch(57.43 26 100.3) |
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)
#8F8F68 — rgb(143, 143, 104)
Deuteranopia (Green-blind)
#8F906B — rgb(143, 144, 107)
Tritanopia (Blue-blind)
#927173 — rgb(146, 113, 115)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 22%, 47%);
text
color: hsl(52, 22%, 47%);
border
border: 2px solid hsl(52, 22%, 47%);
gradient light
background: linear-gradient(to right, hsl(52, 22%, 67%), hsl(52, 22%, 47%));
gradient dark
background: linear-gradient(to right, hsl(52, 22%, 47%), hsl(52, 22%, 27%))
hex
background-color: #928B5D;
tailwind
bg-[hsl(52,22%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 22%, 47%, 0.4);
css variable
--color-primary: hsl(52, 22%, 47%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 22%, 47%)?
HEX: #928B5D | RGB: rgb(146, 139, 93) | CMYK: 0%, 5%, 36%, 43% | HSV: 52°, 36%, 57%. Copy any format from the conversion table above.
What colors go well with #928B5D?
The complementary color is HSL(232, 22%, 47%). For a triadic harmony, use hues 52°, 172°, and 292°. For analogous combinations, try hues 22° and 82°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(52, 22%, 47%) in CSS?
As HSL: color: hsl(52, 22%, 47%); — As HEX: color: #928B5D; — As RGB: color: rgb(146, 139, 93); — Tailwind CSS: bg-[hsl(52,22%,47%)] — CSS variable: --color-primary: hsl(52, 22%, 47%);