HSL(48, 99%, 25%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(48,99%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(48, 99%, 25%) | color: hsl(48, 99%, 25%) | |
| HEX | #7F6601 | color: #7F6601 | |
| RGB | rgb(127, 102, 1) | color: rgb(127, 102, 1) | |
| CMYK | cmyk(0%, 20%, 99%, 50%) | — | |
| HSV | hsv(48, 99%, 50%) | — | |
| HWB | hwb(48 1% 50%) | color: hwb(48 1% 50%) | |
| OKLCH | oklch(0.52 0.106 91.85) | color: oklch(0.52 0.106 91.85) | |
| Lab | lab(44.26 1.21 50.92) | color: lab(44.26 1.21 50.92) | |
| LCH | lch(44.26 50.93 88.64) | color: lch(44.26 50.93 88.64) |
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)
#747419 — rgb(116, 116, 25)
Deuteranopia (Green-blind)
#76781F — rgb(118, 120, 31)
Tritanopia (Blue-blind)
#7E2D31 — rgb(126, 45, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(48, 99%, 25%);
text
color: hsl(48, 99%, 25%);
border
border: 2px solid hsl(48, 99%, 25%);
gradient light
background: linear-gradient(to right, hsl(48, 99%, 45%), hsl(48, 99%, 25%));
gradient dark
background: linear-gradient(to right, hsl(48, 99%, 25%), hsl(48, 99%, 5%))
hex
background-color: #7F6601;
tailwind
bg-[hsl(48,99%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(48, 99%, 25%, 0.4);
css variable
--color-primary: hsl(48, 99%, 25%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(48, 99%, 25%)?
HEX: #7F6601 | RGB: rgb(127, 102, 1) | CMYK: 0%, 20%, 99%, 50% | HSV: 48°, 99%, 50%. Copy any format from the conversion table above.
What colors go well with #7F6601?
The complementary color is HSL(228, 99%, 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, 99%, 25%) in CSS?
As HSL: color: hsl(48, 99%, 25%); — As HEX: color: #7F6601; — As RGB: color: rgb(127, 102, 1); — Tailwind CSS: bg-[hsl(48,99%,25%)] — CSS variable: --color-primary: hsl(48, 99%, 25%);