HSL(47, 70%, 39%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(47,70%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 70%, 39%) | color: hsl(47, 70%, 39%) | |
| HEX | #A98B1E | color: #A98B1E | |
| RGB | rgb(169, 139, 30) | color: rgb(169, 139, 30) | |
| CMYK | cmyk(0%, 18%, 82%, 34%) | — | |
| HSV | hsv(47, 82%, 66%) | — | |
| HWB | hwb(47 12% 34%) | color: hwb(47 12% 34%) | |
| OKLCH | oklch(0.6466 0.1235 92.16) | color: oklch(0.6466 0.1235 92.16) | |
| Lab | lab(58.97 0.72 57.27) | color: lab(58.97 0.72 57.27) | |
| LCH | lch(58.97 57.27 89.28) | color: lch(58.97 57.27 89.28) |
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)
#9C9C38 — rgb(156, 156, 56)
Deuteranopia (Green-blind)
#9EA03F — rgb(158, 160, 63)
Tritanopia (Blue-blind)
#A84D52 — rgb(168, 77, 82)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 70%, 39%);
text
color: hsl(47, 70%, 39%);
border
border: 2px solid hsl(47, 70%, 39%);
gradient light
background: linear-gradient(to right, hsl(47, 70%, 59%), hsl(47, 70%, 39%));
gradient dark
background: linear-gradient(to right, hsl(47, 70%, 39%), hsl(47, 70%, 19%))
hex
background-color: #A98B1E;
tailwind
bg-[hsl(47,70%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 70%, 39%, 0.4);
css variable
--color-primary: hsl(47, 70%, 39%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 70%, 39%)?
HEX: #A98B1E | RGB: rgb(169, 139, 30) | CMYK: 0%, 18%, 82%, 34% | HSV: 47°, 82%, 66%. Copy any format from the conversion table above.
What colors go well with #A98B1E?
The complementary color is HSL(227, 70%, 39%). For a triadic harmony, use hues 47°, 167°, and 287°. For analogous combinations, try hues 17° and 77°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(47, 70%, 39%) in CSS?
As HSL: color: hsl(47, 70%, 39%); — As HEX: color: #A98B1E; — As RGB: color: rgb(169, 139, 30); — Tailwind CSS: bg-[hsl(47,70%,39%)] — CSS variable: --color-primary: hsl(47, 70%, 39%);