HSL(54, 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(54,10%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 10%, 65%) | color: hsl(54, 10%, 65%) | |
| HEX | #AFAD9D | color: #AFAD9D | |
| RGB | rgb(175, 173, 157) | color: rgb(175, 173, 157) | |
| CMYK | cmyk(0%, 1%, 10%, 31%) | — | |
| HSV | hsv(53, 10%, 69%) | — | |
| HWB | hwb(53 62% 31%) | color: hwb(53 62% 31%) | |
| OKLCH | oklch(0.7448 0.0225 101.1) | color: oklch(0.7448 0.0225 101.1) | |
| Lab | lab(70.48 -2.14 8.48) | color: lab(70.48 -2.14 8.48) | |
| LCH | lch(70.48 8.75 104.16) | color: lch(70.48 8.75 104.16) |
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)
#AEAEA1 — rgb(174, 174, 161)
Deuteranopia (Green-blind)
#AEAEA2 — rgb(174, 174, 162)
Tritanopia (Blue-blind)
#AFA4A5 — rgb(175, 164, 165)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 10%, 65%);
text
color: hsl(54, 10%, 65%);
border
border: 2px solid hsl(54, 10%, 65%);
gradient light
background: linear-gradient(to right, hsl(54, 10%, 85%), hsl(54, 10%, 65%));
gradient dark
background: linear-gradient(to right, hsl(54, 10%, 65%), hsl(54, 10%, 45%))
hex
background-color: #AFAD9D;
tailwind
bg-[hsl(54,10%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 10%, 65%, 0.4);
css variable
--color-primary: hsl(54, 10%, 65%);
Related Colors
Use Cases for Grayish Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 10%, 65%)?
HEX: #AFAD9D | RGB: rgb(175, 173, 157) | CMYK: 0%, 1%, 10%, 31% | HSV: 53°, 10%, 69%. Copy any format from the conversion table above.
What colors go well with #AFAD9D?
The complementary color is HSL(234, 10%, 65%). For a triadic harmony, use hues 54°, 174°, and 294°. For analogous combinations, try hues 24° and 84°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(54, 10%, 65%) in CSS?
As HSL: color: hsl(54, 10%, 65%); — As HEX: color: #AFAD9D; — As RGB: color: rgb(175, 173, 157); — Tailwind CSS: bg-[hsl(54,10%,65%)] — CSS variable: --color-primary: hsl(54, 10%, 65%);