HSL(49, 30%, 51%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(49,30%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(49, 30%, 51%) | color: hsl(49, 30%, 51%) | |
| HEX | #A89A5D | color: #A89A5D | |
| RGB | rgb(168, 154, 93) | color: rgb(168, 154, 93) | |
| CMYK | cmyk(0%, 8%, 45%, 34%) | — | |
| HSV | hsv(49, 45%, 66%) | — | |
| HWB | hwb(49 36% 34%) | color: hwb(49 36% 34%) | |
| OKLCH | oklch(0.6844 0.0825 96.8) | color: oklch(0.6844 0.0825 96.8) | |
| Lab | lab(63.53 -3.58 33.8) | color: lab(63.53 -3.58 33.8) | |
| LCH | lch(63.53 33.99 96.05) | color: lch(63.53 33.99 96.05) |
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)
#A2A26C — rgb(162, 162, 108)
Deuteranopia (Green-blind)
#A3A46F — rgb(163, 164, 111)
Tritanopia (Blue-blind)
#A7777A — rgb(167, 119, 122)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(49, 30%, 51%);
text
color: hsl(49, 30%, 51%);
border
border: 2px solid hsl(49, 30%, 51%);
gradient light
background: linear-gradient(to right, hsl(49, 30%, 71%), hsl(49, 30%, 51%));
gradient dark
background: linear-gradient(to right, hsl(49, 30%, 51%), hsl(49, 30%, 31%))
hex
background-color: #A89A5D;
tailwind
bg-[hsl(49,30%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(49, 30%, 51%, 0.4);
css variable
--color-primary: hsl(49, 30%, 51%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(49, 30%, 51%)?
HEX: #A89A5D | RGB: rgb(168, 154, 93) | CMYK: 0%, 8%, 45%, 34% | HSV: 49°, 45%, 66%. Copy any format from the conversion table above.
What colors go well with #A89A5D?
The complementary color is HSL(229, 30%, 51%). 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, 30%, 51%) in CSS?
As HSL: color: hsl(49, 30%, 51%); — As HEX: color: #A89A5D; — As RGB: color: rgb(168, 154, 93); — Tailwind CSS: bg-[hsl(49,30%,51%)] — CSS variable: --color-primary: hsl(49, 30%, 51%);