HSL(47, 96%, 25%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(47,96%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 96%, 25%) | color: hsl(47, 96%, 25%) | |
| HEX | #7D6203 | color: #7D6203 | |
| RGB | rgb(125, 98, 3) | color: rgb(125, 98, 3) | |
| CMYK | cmyk(0%, 22%, 98%, 51%) | — | |
| HSV | hsv(47, 98%, 49%) | — | |
| HWB | hwb(47 1% 51%) | color: hwb(47 1% 51%) | |
| OKLCH | oklch(0.5089 0.103 89.57) | color: oklch(0.5089 0.103 89.57) | |
| Lab | lab(42.92 2.61 49.36) | color: lab(42.92 2.61 49.36) | |
| LCH | lch(42.92 49.43 86.97) | color: lch(42.92 49.43 86.97) |
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)
#71711A — rgb(113, 113, 26)
Deuteranopia (Green-blind)
#737520 — rgb(115, 117, 32)
Tritanopia (Blue-blind)
#7C2C30 — rgb(124, 44, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 96%, 25%);
text
color: hsl(47, 96%, 25%);
border
border: 2px solid hsl(47, 96%, 25%);
gradient light
background: linear-gradient(to right, hsl(47, 96%, 45%), hsl(47, 96%, 25%));
gradient dark
background: linear-gradient(to right, hsl(47, 96%, 25%), hsl(47, 96%, 5%))
hex
background-color: #7D6203;
tailwind
bg-[hsl(47,96%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 96%, 25%, 0.4);
css variable
--color-primary: hsl(47, 96%, 25%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 96%, 25%)?
HEX: #7D6203 | RGB: rgb(125, 98, 3) | CMYK: 0%, 22%, 98%, 51% | HSV: 47°, 98%, 49%. Copy any format from the conversion table above.
What colors go well with #7D6203?
The complementary color is HSL(227, 96%, 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, 96%, 25%) in CSS?
As HSL: color: hsl(47, 96%, 25%); — As HEX: color: #7D6203; — As RGB: color: rgb(125, 98, 3); — Tailwind CSS: bg-[hsl(47,96%,25%)] — CSS variable: --color-primary: hsl(47, 96%, 25%);