HSL(47, 100%, 20%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(47,100%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 100%, 20%) | color: hsl(47, 100%, 20%) | |
| HEX | #665000 | color: #665000 | |
| RGB | rgb(102, 80, 0) | color: rgb(102, 80, 0) | |
| CMYK | cmyk(0%, 22%, 100%, 60%) | — | |
| HSV | hsv(47, 100%, 40%) | — | |
| HWB | hwb(47 0% 60%) | color: hwb(47 0% 60%) | |
| OKLCH | oklch(0.4415 0.0902 90.38) | color: oklch(0.4415 0.0902 90.38) | |
| Lab | lab(35.13 1.88 43.48) | color: lab(35.13 1.88 43.48) | |
| LCH | lch(35.13 43.52 87.52) | color: lch(35.13 43.52 87.52) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#5C5C13 — rgb(92, 92, 19)
Deuteranopia (Green-blind)
#5E5F18 — rgb(94, 95, 24)
Tritanopia (Blue-blind)
#652326 — rgb(101, 35, 38)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 100%, 20%);
text
color: hsl(47, 100%, 20%);
border
border: 2px solid hsl(47, 100%, 20%);
gradient light
background: linear-gradient(to right, hsl(47, 100%, 40%), hsl(47, 100%, 20%));
gradient dark
background: linear-gradient(to right, hsl(47, 100%, 20%), hsl(47, 100%, 0%))
hex
background-color: #665000;
tailwind
bg-[hsl(47,100%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 100%, 20%, 0.4);
css variable
--color-primary: hsl(47, 100%, 20%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 100%, 20%)?
HEX: #665000 | RGB: rgb(102, 80, 0) | CMYK: 0%, 22%, 100%, 60% | HSV: 47°, 100%, 40%. Copy any format from the conversion table above.
What colors go well with #665000?
The complementary color is HSL(227, 100%, 20%). 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, 100%, 20%) in CSS?
As HSL: color: hsl(47, 100%, 20%); — As HEX: color: #665000; — As RGB: color: rgb(102, 80, 0); — Tailwind CSS: bg-[hsl(47,100%,20%)] — CSS variable: --color-primary: hsl(47, 100%, 20%);