HSL(45, 10%, 58%)
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(45,10%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(45, 10%, 58%) | color: hsl(45, 10%, 58%) | |
| HEX | #9F9989 | color: #9F9989 | |
| RGB | rgb(159, 153, 137) | color: rgb(159, 153, 137) | |
| CMYK | cmyk(0%, 4%, 14%, 38%) | — | |
| HSV | hsv(44, 14%, 62%) | — | |
| HWB | hwb(44 53% 38%) | color: hwb(44 53% 38%) | |
| OKLCH | oklch(0.6835 0.0239 89.85) | color: oklch(0.6835 0.0239 89.85) | |
| Lab | lab(63.31 -0.65 9.2) | color: lab(63.31 -0.65 9.2) | |
| LCH | lch(63.31 9.22 94.04) | color: lch(63.31 9.22 94.04) |
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)
#9C9C8D — rgb(156, 156, 141)
Deuteranopia (Green-blind)
#9D9D8E — rgb(157, 157, 142)
Tritanopia (Blue-blind)
#9F9091 — rgb(159, 144, 145)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(45, 10%, 58%);
text
color: hsl(45, 10%, 58%);
border
border: 2px solid hsl(45, 10%, 58%);
gradient light
background: linear-gradient(to right, hsl(45, 10%, 78%), hsl(45, 10%, 58%));
gradient dark
background: linear-gradient(to right, hsl(45, 10%, 58%), hsl(45, 10%, 38%))
hex
background-color: #9F9989;
tailwind
bg-[hsl(45,10%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(45, 10%, 58%, 0.4);
css variable
--color-primary: hsl(45, 10%, 58%);
Related Colors
Use Cases for Grayish Yellow
Frequently Asked Questions
What are all the color codes for HSL(45, 10%, 58%)?
HEX: #9F9989 | RGB: rgb(159, 153, 137) | CMYK: 0%, 4%, 14%, 38% | HSV: 44°, 14%, 62%. Copy any format from the conversion table above.
What colors go well with #9F9989?
The complementary color is HSL(225, 10%, 58%). For a triadic harmony, use hues 45°, 165°, and 285°. For analogous combinations, try hues 15° and 75°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(45, 10%, 58%) in CSS?
As HSL: color: hsl(45, 10%, 58%); — As HEX: color: #9F9989; — As RGB: color: rgb(159, 153, 137); — Tailwind CSS: bg-[hsl(45,10%,58%)] — CSS variable: --color-primary: hsl(45, 10%, 58%);