HSL(61, 20%, 61%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(61,20%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(61, 20%, 61%) | color: hsl(61, 20%, 61%) | |
| HEX | #AFAF88 | color: #AFAF88 | |
| RGB | rgb(175, 175, 136) | color: rgb(175, 175, 136) | |
| CMYK | cmyk(0%, 0%, 22%, 31%) | — | |
| HSV | hsv(60, 22%, 69%) | — | |
| HWB | hwb(60 54% 31%) | color: hwb(60 54% 31%) | |
| OKLCH | oklch(0.7439 0.0535 107.63) | color: oklch(0.7439 0.0535 107.63) | |
| Lab | lab(70.56 -6.54 20.07) | color: lab(70.56 -6.54 20.07) | |
| LCH | lch(70.56 21.11 108.05) | color: lch(70.56 21.11 108.05) |
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)
#AFAF91 — rgb(175, 175, 145)
Deuteranopia (Green-blind)
#AFAF94 — rgb(175, 175, 148)
Tritanopia (Blue-blind)
#AF999B — rgb(175, 153, 155)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(61, 20%, 61%);
text
color: hsl(61, 20%, 61%);
border
border: 2px solid hsl(61, 20%, 61%);
gradient light
background: linear-gradient(to right, hsl(61, 20%, 81%), hsl(61, 20%, 61%));
gradient dark
background: linear-gradient(to right, hsl(61, 20%, 61%), hsl(61, 20%, 41%))
hex
background-color: #AFAF88;
tailwind
bg-[hsl(61,20%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(61, 20%, 61%, 0.4);
css variable
--color-primary: hsl(61, 20%, 61%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(61, 20%, 61%)?
HEX: #AFAF88 | RGB: rgb(175, 175, 136) | CMYK: 0%, 0%, 22%, 31% | HSV: 60°, 22%, 69%. Copy any format from the conversion table above.
What colors go well with #AFAF88?
The complementary color is HSL(241, 20%, 61%). For a triadic harmony, use hues 61°, 181°, and 301°. For analogous combinations, try hues 31° and 91°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(61, 20%, 61%) in CSS?
As HSL: color: hsl(61, 20%, 61%); — As HEX: color: #AFAF88; — As RGB: color: rgb(175, 175, 136); — Tailwind CSS: bg-[hsl(61,20%,61%)] — CSS variable: --color-primary: hsl(61, 20%, 61%);