HSL(57, 22%, 54%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(57,22%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(57, 22%, 54%) | color: hsl(57, 22%, 54%) | |
| HEX | #A4A170 | color: #A4A170 | |
| RGB | rgb(164, 161, 112) | color: rgb(164, 161, 112) | |
| CMYK | cmyk(0%, 2%, 32%, 36%) | — | |
| HSV | hsv(57, 32%, 64%) | — | |
| HWB | hwb(57 44% 36%) | color: hwb(57 44% 36%) | |
| OKLCH | oklch(0.6993 0.067 105.03) | color: oklch(0.6993 0.067 105.03) | |
| Lab | lab(65.4 -6.76 25.97) | color: lab(65.4 -6.76 25.97) | |
| LCH | lch(65.4 26.84 104.59) | color: lch(65.4 26.84 104.59) |
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)
#A3A37C — rgb(163, 163, 124)
Deuteranopia (Green-blind)
#A3A37F — rgb(163, 163, 127)
Tritanopia (Blue-blind)
#A48587 — rgb(164, 133, 135)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(57, 22%, 54%);
text
color: hsl(57, 22%, 54%);
border
border: 2px solid hsl(57, 22%, 54%);
gradient light
background: linear-gradient(to right, hsl(57, 22%, 74%), hsl(57, 22%, 54%));
gradient dark
background: linear-gradient(to right, hsl(57, 22%, 54%), hsl(57, 22%, 34%))
hex
background-color: #A4A170;
tailwind
bg-[hsl(57,22%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(57, 22%, 54%, 0.4);
css variable
--color-primary: hsl(57, 22%, 54%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(57, 22%, 54%)?
HEX: #A4A170 | RGB: rgb(164, 161, 112) | CMYK: 0%, 2%, 32%, 36% | HSV: 57°, 32%, 64%. Copy any format from the conversion table above.
What colors go well with #A4A170?
The complementary color is HSL(237, 22%, 54%). For a triadic harmony, use hues 57°, 177°, and 297°. For analogous combinations, try hues 27° and 87°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(57, 22%, 54%) in CSS?
As HSL: color: hsl(57, 22%, 54%); — As HEX: color: #A4A170; — As RGB: color: rgb(164, 161, 112); — Tailwind CSS: bg-[hsl(57,22%,54%)] — CSS variable: --color-primary: hsl(57, 22%, 54%);