HSL(47, 30%, 54%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(47,30%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 30%, 54%) | color: hsl(47, 30%, 54%) | |
| HEX | #AD9E67 | color: #AD9E67 | |
| RGB | rgb(173, 158, 103) | color: rgb(173, 158, 103) | |
| CMYK | cmyk(0%, 9%, 40%, 32%) | — | |
| HSV | hsv(47, 40%, 68%) | — | |
| HWB | hwb(47 41% 32%) | color: hwb(47 41% 32%) | |
| OKLCH | oklch(0.6993 0.0756 94.67) | color: oklch(0.6993 0.0756 94.67) | |
| Lab | lab(65.21 -2.56 30.72) | color: lab(65.21 -2.56 30.72) | |
| LCH | lch(65.21 30.83 94.76) | color: lch(65.21 30.83 94.76) |
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)
#A7A674 — rgb(167, 166, 116)
Deuteranopia (Green-blind)
#A7A978 — rgb(167, 169, 120)
Tritanopia (Blue-blind)
#AC7F81 — rgb(172, 127, 129)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 30%, 54%);
text
color: hsl(47, 30%, 54%);
border
border: 2px solid hsl(47, 30%, 54%);
gradient light
background: linear-gradient(to right, hsl(47, 30%, 74%), hsl(47, 30%, 54%));
gradient dark
background: linear-gradient(to right, hsl(47, 30%, 54%), hsl(47, 30%, 34%))
hex
background-color: #AD9E67;
tailwind
bg-[hsl(47,30%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 30%, 54%, 0.4);
css variable
--color-primary: hsl(47, 30%, 54%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 30%, 54%)?
HEX: #AD9E67 | RGB: rgb(173, 158, 103) | CMYK: 0%, 9%, 40%, 32% | HSV: 47°, 40%, 68%. Copy any format from the conversion table above.
What colors go well with #AD9E67?
The complementary color is HSL(227, 30%, 54%). 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, 30%, 54%) in CSS?
As HSL: color: hsl(47, 30%, 54%); — As HEX: color: #AD9E67; — As RGB: color: rgb(173, 158, 103); — Tailwind CSS: bg-[hsl(47,30%,54%)] — CSS variable: --color-primary: hsl(47, 30%, 54%);