HSL(54, 60%, 41%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,60%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 60%, 41%) | color: hsl(54, 60%, 41%) | |
| HEX | #A79B2A | color: #A79B2A | |
| RGB | rgb(167, 155, 42) | color: rgb(167, 155, 42) | |
| CMYK | cmyk(0%, 7%, 75%, 35%) | — | |
| HSV | hsv(54, 75%, 65%) | — | |
| HWB | hwb(54 16% 35%) | color: hwb(54 16% 35%) | |
| OKLCH | oklch(0.6799 0.1287 103.08) | color: oklch(0.6799 0.1287 103.08) | |
| Lab | lab(63.2 -8.38 56.99) | color: lab(63.2 -8.38 56.99) | |
| LCH | lch(63.2 57.6 98.37) | color: lch(63.2 57.6 98.37) |
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)
#A2A245 — rgb(162, 162, 69)
Deuteranopia (Green-blind)
#A3A34C — rgb(163, 163, 76)
Tritanopia (Blue-blind)
#A65B60 — rgb(166, 91, 96)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 60%, 41%);
text
color: hsl(54, 60%, 41%);
border
border: 2px solid hsl(54, 60%, 41%);
gradient light
background: linear-gradient(to right, hsl(54, 60%, 61%), hsl(54, 60%, 41%));
gradient dark
background: linear-gradient(to right, hsl(54, 60%, 41%), hsl(54, 60%, 21%))
hex
background-color: #A79B2A;
tailwind
bg-[hsl(54,60%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 60%, 41%, 0.4);
css variable
--color-primary: hsl(54, 60%, 41%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 60%, 41%)?
HEX: #A79B2A | RGB: rgb(167, 155, 42) | CMYK: 0%, 7%, 75%, 35% | HSV: 54°, 75%, 65%. Copy any format from the conversion table above.
What colors go well with #A79B2A?
The complementary color is HSL(234, 60%, 41%). 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, 60%, 41%) in CSS?
As HSL: color: hsl(54, 60%, 41%); — As HEX: color: #A79B2A; — As RGB: color: rgb(167, 155, 42); — Tailwind CSS: bg-[hsl(54,60%,41%)] — CSS variable: --color-primary: hsl(54, 60%, 41%);