HSL(46, 10%, 65%)
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(46,10%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 10%, 65%) | color: hsl(46, 10%, 65%) | |
| HEX | #AFAB9D | color: #AFAB9D | |
| RGB | rgb(175, 171, 157) | color: rgb(175, 171, 157) | |
| CMYK | cmyk(0%, 2%, 10%, 31%) | — | |
| HSV | hsv(47, 10%, 69%) | — | |
| HWB | hwb(47 62% 31%) | color: hwb(47 62% 31%) | |
| OKLCH | oklch(0.7406 0.0202 93.73) | color: oklch(0.7406 0.0202 93.73) | |
| Lab | lab(69.95 -1.07 7.72) | color: lab(69.95 -1.07 7.72) | |
| LCH | lch(69.95 7.79 97.89) | color: lch(69.95 7.79 97.89) |
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)
#ADADA0 — rgb(173, 173, 160)
Deuteranopia (Green-blind)
#AEAEA1 — rgb(174, 174, 161)
Tritanopia (Blue-blind)
#AFA3A4 — rgb(175, 163, 164)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 10%, 65%);
text
color: hsl(46, 10%, 65%);
border
border: 2px solid hsl(46, 10%, 65%);
gradient light
background: linear-gradient(to right, hsl(46, 10%, 85%), hsl(46, 10%, 65%));
gradient dark
background: linear-gradient(to right, hsl(46, 10%, 65%), hsl(46, 10%, 45%))
hex
background-color: #AFAB9D;
tailwind
bg-[hsl(46,10%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 10%, 65%, 0.4);
css variable
--color-primary: hsl(46, 10%, 65%);
Related Colors
Use Cases for Grayish Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 10%, 65%)?
HEX: #AFAB9D | RGB: rgb(175, 171, 157) | CMYK: 0%, 2%, 10%, 31% | HSV: 47°, 10%, 69%. Copy any format from the conversion table above.
What colors go well with #AFAB9D?
The complementary color is HSL(226, 10%, 65%). For a triadic harmony, use hues 46°, 166°, and 286°. For analogous combinations, try hues 16° and 76°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(46, 10%, 65%) in CSS?
As HSL: color: hsl(46, 10%, 65%); — As HEX: color: #AFAB9D; — As RGB: color: rgb(175, 171, 157); — Tailwind CSS: bg-[hsl(46,10%,65%)] — CSS variable: --color-primary: hsl(46, 10%, 65%);