HSL(49, 10%, 52%)
Grayish Yellow — Yellow color
Adjust Color
Color Information
Color Name
Grayish Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(49,10%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(49, 10%, 52%) | color: hsl(49, 10%, 52%) | |
| HEX | #918C78 | color: #918C78 | |
| RGB | rgb(145, 140, 120) | color: rgb(145, 140, 120) | |
| CMYK | cmyk(0%, 3%, 17%, 43%) | — | |
| HSV | hsv(48, 17%, 57%) | — | |
| HWB | hwb(48 47% 43%) | color: hwb(48 47% 43%) | |
| OKLCH | oklch(0.6387 0.0295 95.51) | color: oklch(0.6387 0.0295 95.51) | |
| Lab | lab(58.16 -1.69 11.36) | color: lab(58.16 -1.69 11.36) | |
| LCH | lch(58.16 11.49 98.46) | color: lch(58.16 11.49 98.46) |
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)
#8F8F7D — rgb(143, 143, 125)
Deuteranopia (Green-blind)
#8F907E — rgb(143, 144, 126)
Tritanopia (Blue-blind)
#918182 — rgb(145, 129, 130)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(49, 10%, 52%);
text
color: hsl(49, 10%, 52%);
border
border: 2px solid hsl(49, 10%, 52%);
gradient light
background: linear-gradient(to right, hsl(49, 10%, 72%), hsl(49, 10%, 52%));
gradient dark
background: linear-gradient(to right, hsl(49, 10%, 52%), hsl(49, 10%, 32%))
hex
background-color: #918C78;
tailwind
bg-[hsl(49,10%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(49, 10%, 52%, 0.4);
css variable
--color-primary: hsl(49, 10%, 52%);
Related Colors
Use Cases for Grayish Yellow
Frequently Asked Questions
What are all the color codes for HSL(49, 10%, 52%)?
HEX: #918C78 | RGB: rgb(145, 140, 120) | CMYK: 0%, 3%, 17%, 43% | HSV: 48°, 17%, 57%. Copy any format from the conversion table above.
What colors go well with #918C78?
The complementary color is HSL(229, 10%, 52%). For a triadic harmony, use hues 49°, 169°, and 289°. For analogous combinations, try hues 19° and 79°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(49, 10%, 52%) in CSS?
As HSL: color: hsl(49, 10%, 52%); — As HEX: color: #918C78; — As RGB: color: rgb(145, 140, 120); — Tailwind CSS: bg-[hsl(49,10%,52%)] — CSS variable: --color-primary: hsl(49, 10%, 52%);