HSL(54, 52%, 22%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,52%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 52%, 22%) | color: hsl(54, 52%, 22%) | |
| HEX | #554F1B | color: #554F1B | |
| RGB | rgb(85, 79, 27) | color: rgb(85, 79, 27) | |
| CMYK | cmyk(0%, 7%, 68%, 67%) | — | |
| HSV | hsv(54, 68%, 33%) | — | |
| HWB | hwb(54 11% 67%) | color: hwb(54 11% 67%) | |
| OKLCH | oklch(0.422 0.0717 102.74) | color: oklch(0.422 0.0717 102.74) | |
| Lab | lab(33.14 -4.86 30.68) | color: lab(33.14 -4.86 30.68) | |
| LCH | lch(33.14 31.06 99) | color: lch(33.14 31.06 99) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#525228 — rgb(82, 82, 40)
Deuteranopia (Green-blind)
#53532B — rgb(83, 83, 43)
Tritanopia (Blue-blind)
#553234 — rgb(85, 50, 52)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 52%, 22%);
text
color: hsl(54, 52%, 22%);
border
border: 2px solid hsl(54, 52%, 22%);
gradient light
background: linear-gradient(to right, hsl(54, 52%, 42%), hsl(54, 52%, 22%));
gradient dark
background: linear-gradient(to right, hsl(54, 52%, 22%), hsl(54, 52%, 2%))
hex
background-color: #554F1B;
tailwind
bg-[hsl(54,52%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 52%, 22%, 0.4);
css variable
--color-primary: hsl(54, 52%, 22%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 52%, 22%)?
HEX: #554F1B | RGB: rgb(85, 79, 27) | CMYK: 0%, 7%, 68%, 67% | HSV: 54°, 68%, 33%. Copy any format from the conversion table above.
What colors go well with #554F1B?
The complementary color is HSL(234, 52%, 22%). 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, 52%, 22%) in CSS?
As HSL: color: hsl(54, 52%, 22%); — As HEX: color: #554F1B; — As RGB: color: rgb(85, 79, 27); — Tailwind CSS: bg-[hsl(54,52%,22%)] — CSS variable: --color-primary: hsl(54, 52%, 22%);