HSL(48, 96%, 25%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(48,96%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(48, 96%, 25%) | color: hsl(48, 96%, 25%) | |
| HEX | #7D6403 | color: #7D6403 | |
| RGB | rgb(125, 100, 3) | color: rgb(125, 100, 3) | |
| CMYK | cmyk(0%, 20%, 98%, 51%) | — | |
| HSV | hsv(48, 98%, 49%) | — | |
| HWB | hwb(48 1% 51%) | color: hwb(48 1% 51%) | |
| OKLCH | oklch(0.5133 0.104 91.39) | color: oklch(0.5133 0.104 91.39) | |
| Lab | lab(43.48 1.44 49.76) | color: lab(43.48 1.44 49.76) | |
| LCH | lch(43.48 49.78 88.34) | color: lch(43.48 49.78 88.34) |
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)
#72721A — rgb(114, 114, 26)
Deuteranopia (Green-blind)
#747620 — rgb(116, 118, 32)
Tritanopia (Blue-blind)
#7C2D31 — rgb(124, 45, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(48, 96%, 25%);
text
color: hsl(48, 96%, 25%);
border
border: 2px solid hsl(48, 96%, 25%);
gradient light
background: linear-gradient(to right, hsl(48, 96%, 45%), hsl(48, 96%, 25%));
gradient dark
background: linear-gradient(to right, hsl(48, 96%, 25%), hsl(48, 96%, 5%))
hex
background-color: #7D6403;
tailwind
bg-[hsl(48,96%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(48, 96%, 25%, 0.4);
css variable
--color-primary: hsl(48, 96%, 25%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(48, 96%, 25%)?
HEX: #7D6403 | RGB: rgb(125, 100, 3) | CMYK: 0%, 20%, 98%, 51% | HSV: 48°, 98%, 49%. Copy any format from the conversion table above.
What colors go well with #7D6403?
The complementary color is HSL(228, 96%, 25%). For a triadic harmony, use hues 48°, 168°, and 288°. For analogous combinations, try hues 18° and 78°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(48, 96%, 25%) in CSS?
As HSL: color: hsl(48, 96%, 25%); — As HEX: color: #7D6403; — As RGB: color: rgb(125, 100, 3); — Tailwind CSS: bg-[hsl(48,96%,25%)] — CSS variable: --color-primary: hsl(48, 96%, 25%);