HSL(48, 70%, 48%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(48,70%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(48, 70%, 48%) | color: hsl(48, 70%, 48%) | |
| HEX | #D0AE25 | color: #D0AE25 | |
| RGB | rgb(208, 174, 37) | color: rgb(208, 174, 37) | |
| CMYK | cmyk(0%, 16%, 82%, 18%) | — | |
| HSV | hsv(48, 82%, 82%) | — | |
| HWB | hwb(48 15% 18%) | color: hwb(48 15% 18%) | |
| OKLCH | oklch(0.7595 0.1465 93.69) | color: oklch(0.7595 0.1465 93.69) | |
| Lab | lab(72.11 -0.5 68.06) | color: lab(72.11 -0.5 68.06) | |
| LCH | lch(72.11 68.06 90.42) | color: lch(72.11 68.06 90.42) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#C1C146 — rgb(193, 193, 70)
Deuteranopia (Green-blind)
#C3C64E — rgb(195, 198, 78)
Tritanopia (Blue-blind)
#CE6066 — rgb(206, 96, 102)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(48, 70%, 48%);
text
color: hsl(48, 70%, 48%);
border
border: 2px solid hsl(48, 70%, 48%);
gradient light
background: linear-gradient(to right, hsl(48, 70%, 68%), hsl(48, 70%, 48%));
gradient dark
background: linear-gradient(to right, hsl(48, 70%, 48%), hsl(48, 70%, 28%))
hex
background-color: #D0AE25;
tailwind
bg-[hsl(48,70%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(48, 70%, 48%, 0.4);
css variable
--color-primary: hsl(48, 70%, 48%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(48, 70%, 48%)?
HEX: #D0AE25 | RGB: rgb(208, 174, 37) | CMYK: 0%, 16%, 82%, 18% | HSV: 48°, 82%, 82%. Copy any format from the conversion table above.
What colors go well with #D0AE25?
The complementary color is HSL(228, 70%, 48%). 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, 70%, 48%) in CSS?
As HSL: color: hsl(48, 70%, 48%); — As HEX: color: #D0AE25; — As RGB: color: rgb(208, 174, 37); — Tailwind CSS: bg-[hsl(48,70%,48%)] — CSS variable: --color-primary: hsl(48, 70%, 48%);