HSL(47, 100%, 25%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(47,100%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 100%, 25%) | color: hsl(47, 100%, 25%) | |
| HEX | #806400 | color: #806400 | |
| RGB | rgb(128, 100, 0) | color: rgb(128, 100, 0) | |
| CMYK | cmyk(0%, 22%, 100%, 50%) | — | |
| HSV | hsv(47, 100%, 50%) | — | |
| HWB | hwb(47 0% 50%) | color: hwb(47 0% 50%) | |
| OKLCH | oklch(0.5166 0.1056 89.42) | color: oklch(0.5166 0.1056 89.42) | |
| Lab | lab(43.81 2.83 50.91) | color: lab(43.81 2.83 50.91) | |
| LCH | lch(43.81 50.99 86.82) | color: lch(43.81 50.99 86.82) |
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)
#747418 — rgb(116, 116, 24)
Deuteranopia (Green-blind)
#76781E — rgb(118, 120, 30)
Tritanopia (Blue-blind)
#7F2B30 — rgb(127, 43, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 100%, 25%);
text
color: hsl(47, 100%, 25%);
border
border: 2px solid hsl(47, 100%, 25%);
gradient light
background: linear-gradient(to right, hsl(47, 100%, 45%), hsl(47, 100%, 25%));
gradient dark
background: linear-gradient(to right, hsl(47, 100%, 25%), hsl(47, 100%, 5%))
hex
background-color: #806400;
tailwind
bg-[hsl(47,100%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 100%, 25%, 0.4);
css variable
--color-primary: hsl(47, 100%, 25%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 100%, 25%)?
HEX: #806400 | RGB: rgb(128, 100, 0) | CMYK: 0%, 22%, 100%, 50% | HSV: 47°, 100%, 50%. Copy any format from the conversion table above.
What colors go well with #806400?
The complementary color is HSL(227, 100%, 25%). 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%, 25%) in CSS?
As HSL: color: hsl(47, 100%, 25%); — As HEX: color: #806400; — As RGB: color: rgb(128, 100, 0); — Tailwind CSS: bg-[hsl(47,100%,25%)] — CSS variable: --color-primary: hsl(47, 100%, 25%);