HSL(49, 40%, 45%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(49,40%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(49, 40%, 45%) | color: hsl(49, 40%, 45%) | |
| HEX | #A19045 | color: #A19045 | |
| RGB | rgb(161, 144, 69) | color: rgb(161, 144, 69) | |
| CMYK | cmyk(0%, 11%, 57%, 37%) | — | |
| HSV | hsv(49, 57%, 63%) | — | |
| HWB | hwb(49 27% 37%) | color: hwb(49 27% 37%) | |
| OKLCH | oklch(0.6527 0.0977 96.75) | color: oklch(0.6527 0.0977 96.75) | |
| Lab | lab(59.85 -3.41 41.54) | color: lab(59.85 -3.41 41.54) | |
| LCH | lch(59.85 41.68 94.69) | color: lch(59.85 41.68 94.69) |
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)
#9A9957 — rgb(154, 153, 87)
Deuteranopia (Green-blind)
#9B9C5C — rgb(155, 156, 92)
Tritanopia (Blue-blind)
#A06569 — rgb(160, 101, 105)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(49, 40%, 45%);
text
color: hsl(49, 40%, 45%);
border
border: 2px solid hsl(49, 40%, 45%);
gradient light
background: linear-gradient(to right, hsl(49, 40%, 65%), hsl(49, 40%, 45%));
gradient dark
background: linear-gradient(to right, hsl(49, 40%, 45%), hsl(49, 40%, 25%))
hex
background-color: #A19045;
tailwind
bg-[hsl(49,40%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(49, 40%, 45%, 0.4);
css variable
--color-primary: hsl(49, 40%, 45%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(49, 40%, 45%)?
HEX: #A19045 | RGB: rgb(161, 144, 69) | CMYK: 0%, 11%, 57%, 37% | HSV: 49°, 57%, 63%. Copy any format from the conversion table above.
What colors go well with #A19045?
The complementary color is HSL(229, 40%, 45%). For a triadic harmony, use hues 49°, 169°, and 289°. For analogous combinations, try hues 19° and 79°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(49, 40%, 45%) in CSS?
As HSL: color: hsl(49, 40%, 45%); — As HEX: color: #A19045; — As RGB: color: rgb(161, 144, 69); — Tailwind CSS: bg-[hsl(49,40%,45%)] — CSS variable: --color-primary: hsl(49, 40%, 45%);