HSL(45, 20%, 32%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(45,20%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(45, 20%, 32%) | color: hsl(45, 20%, 32%) | |
| HEX | #625A41 | color: #625A41 | |
| RGB | rgb(98, 90, 65) | color: rgb(98, 90, 65) | |
| CMYK | cmyk(0%, 8%, 34%, 62%) | — | |
| HSV | hsv(45, 34%, 38%) | — | |
| HWB | hwb(45 25% 62%) | color: hwb(45 25% 62%) | |
| OKLCH | oklch(0.4683 0.0393 92.44) | color: oklch(0.4683 0.0393 92.44) | |
| Lab | lab(38.36 -1.07 15.65) | color: lab(38.36 -1.07 15.65) | |
| LCH | lch(38.36 15.69 93.91) | color: lch(38.36 15.69 93.91) |
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)
#5F5E47 — rgb(95, 94, 71)
Deuteranopia (Green-blind)
#5F6049 — rgb(95, 96, 73)
Tritanopia (Blue-blind)
#624C4D — rgb(98, 76, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(45, 20%, 32%);
text
color: hsl(45, 20%, 32%);
border
border: 2px solid hsl(45, 20%, 32%);
gradient light
background: linear-gradient(to right, hsl(45, 20%, 52%), hsl(45, 20%, 32%));
gradient dark
background: linear-gradient(to right, hsl(45, 20%, 32%), hsl(45, 20%, 12%))
hex
background-color: #625A41;
tailwind
bg-[hsl(45,20%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(45, 20%, 32%, 0.4);
css variable
--color-primary: hsl(45, 20%, 32%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(45, 20%, 32%)?
HEX: #625A41 | RGB: rgb(98, 90, 65) | CMYK: 0%, 8%, 34%, 62% | HSV: 45°, 34%, 38%. Copy any format from the conversion table above.
What colors go well with #625A41?
The complementary color is HSL(225, 20%, 32%). For a triadic harmony, use hues 45°, 165°, and 285°. For analogous combinations, try hues 15° and 75°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(45, 20%, 32%) in CSS?
As HSL: color: hsl(45, 20%, 32%); — As HEX: color: #625A41; — As RGB: color: rgb(98, 90, 65); — Tailwind CSS: bg-[hsl(45,20%,32%)] — CSS variable: --color-primary: hsl(45, 20%, 32%);