HSL(51, 50%, 43%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,50%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 50%, 43%) | color: hsl(51, 50%, 43%) | |
| HEX | #A49437 | color: #A49437 | |
| RGB | rgb(164, 148, 55) | color: rgb(164, 148, 55) | |
| CMYK | cmyk(0%, 10%, 66%, 36%) | — | |
| HSV | hsv(51, 66%, 64%) | — | |
| HWB | hwb(51 22% 36%) | color: hwb(51 22% 36%) | |
| OKLCH | oklch(0.6628 0.1137 99.47) | color: oklch(0.6628 0.1137 99.47) | |
| Lab | lab(61.09 -5.27 49.57) | color: lab(61.09 -5.27 49.57) | |
| LCH | lch(61.09 49.85 96.07) | color: lch(61.09 49.85 96.07) |
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)
#9D9D4E — rgb(157, 157, 78)
Deuteranopia (Green-blind)
#9E9F53 — rgb(158, 159, 83)
Tritanopia (Blue-blind)
#A35F63 — rgb(163, 95, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 50%, 43%);
text
color: hsl(51, 50%, 43%);
border
border: 2px solid hsl(51, 50%, 43%);
gradient light
background: linear-gradient(to right, hsl(51, 50%, 63%), hsl(51, 50%, 43%));
gradient dark
background: linear-gradient(to right, hsl(51, 50%, 43%), hsl(51, 50%, 23%))
hex
background-color: #A49437;
tailwind
bg-[hsl(51,50%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 50%, 43%, 0.4);
css variable
--color-primary: hsl(51, 50%, 43%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 50%, 43%)?
HEX: #A49437 | RGB: rgb(164, 148, 55) | CMYK: 0%, 10%, 66%, 36% | HSV: 51°, 66%, 64%. Copy any format from the conversion table above.
What colors go well with #A49437?
The complementary color is HSL(231, 50%, 43%). For a triadic harmony, use hues 51°, 171°, and 291°. For analogous combinations, try hues 21° and 81°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(51, 50%, 43%) in CSS?
As HSL: color: hsl(51, 50%, 43%); — As HEX: color: #A49437; — As RGB: color: rgb(164, 148, 55); — Tailwind CSS: bg-[hsl(51,50%,43%)] — CSS variable: --color-primary: hsl(51, 50%, 43%);