HSL(55, 20%, 61%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(55,20%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(55, 20%, 61%) | color: hsl(55, 20%, 61%) | |
| HEX | #AFAC88 | color: #AFAC88 | |
| RGB | rgb(175, 172, 136) | color: rgb(175, 172, 136) | |
| CMYK | cmyk(0%, 2%, 22%, 31%) | — | |
| HSV | hsv(55, 22%, 69%) | — | |
| HWB | hwb(55 54% 31%) | color: hwb(55 54% 31%) | |
| OKLCH | oklch(0.7375 0.0497 103.58) | color: oklch(0.7375 0.0497 103.58) | |
| Lab | lab(69.75 -4.95 18.96) | color: lab(69.75 -4.95 18.96) | |
| LCH | lch(69.75 19.6 104.63) | color: lch(69.75 19.6 104.63) |
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)
#AEAE91 — rgb(174, 174, 145)
Deuteranopia (Green-blind)
#AEAE93 — rgb(174, 174, 147)
Tritanopia (Blue-blind)
#AF9899 — rgb(175, 152, 153)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(55, 20%, 61%);
text
color: hsl(55, 20%, 61%);
border
border: 2px solid hsl(55, 20%, 61%);
gradient light
background: linear-gradient(to right, hsl(55, 20%, 81%), hsl(55, 20%, 61%));
gradient dark
background: linear-gradient(to right, hsl(55, 20%, 61%), hsl(55, 20%, 41%))
hex
background-color: #AFAC88;
tailwind
bg-[hsl(55,20%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(55, 20%, 61%, 0.4);
css variable
--color-primary: hsl(55, 20%, 61%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(55, 20%, 61%)?
HEX: #AFAC88 | RGB: rgb(175, 172, 136) | CMYK: 0%, 2%, 22%, 31% | HSV: 55°, 22%, 69%. Copy any format from the conversion table above.
What colors go well with #AFAC88?
The complementary color is HSL(235, 20%, 61%). For a triadic harmony, use hues 55°, 175°, and 295°. For analogous combinations, try hues 25° and 85°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(55, 20%, 61%) in CSS?
As HSL: color: hsl(55, 20%, 61%); — As HEX: color: #AFAC88; — As RGB: color: rgb(175, 172, 136); — Tailwind CSS: bg-[hsl(55,20%,61%)] — CSS variable: --color-primary: hsl(55, 20%, 61%);