HSL(48, 70%, 62%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(48,70%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(48, 70%, 62%) | color: hsl(48, 70%, 62%) | |
| HEX | #E2C75A | color: #E2C75A | |
| RGB | rgb(226, 199, 90) | color: rgb(226, 199, 90) | |
| CMYK | cmyk(0%, 12%, 60%, 11%) | — | |
| HSV | hsv(48, 60%, 89%) | — | |
| HWB | hwb(48 36% 11%) | color: hwb(48 36% 11%) | |
| OKLCH | oklch(0.8317 0.1315 95.47) | color: oklch(0.8317 0.1315 95.47) | |
| Lab | lab(80.6 -3.21 56.8) | color: lab(80.6 -3.21 56.8) | |
| LCH | lch(80.6 56.89 93.23) | color: lch(80.6 56.89 93.23) |
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)
#D6D674 — rgb(214, 214, 116)
Deuteranopia (Green-blind)
#D8DA7B — rgb(216, 218, 123)
Tritanopia (Blue-blind)
#E1898E — rgb(225, 137, 142)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(48, 70%, 62%);
text
color: hsl(48, 70%, 62%);
border
border: 2px solid hsl(48, 70%, 62%);
gradient light
background: linear-gradient(to right, hsl(48, 70%, 82%), hsl(48, 70%, 62%));
gradient dark
background: linear-gradient(to right, hsl(48, 70%, 62%), hsl(48, 70%, 42%))
hex
background-color: #E2C75A;
tailwind
bg-[hsl(48,70%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(48, 70%, 62%, 0.4);
css variable
--color-primary: hsl(48, 70%, 62%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(48, 70%, 62%)?
HEX: #E2C75A | RGB: rgb(226, 199, 90) | CMYK: 0%, 12%, 60%, 11% | HSV: 48°, 60%, 89%. Copy any format from the conversion table above.
What colors go well with #E2C75A?
The complementary color is HSL(228, 70%, 62%). 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%, 62%) in CSS?
As HSL: color: hsl(48, 70%, 62%); — As HEX: color: #E2C75A; — As RGB: color: rgb(226, 199, 90); — Tailwind CSS: bg-[hsl(48,70%,62%)] — CSS variable: --color-primary: hsl(48, 70%, 62%);