HSL(46, 70%, 79%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,70%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 70%, 79%) | color: hsl(46, 70%, 79%) | |
| HEX | #EFDDA4 | color: #EFDDA4 | |
| RGB | rgb(239, 221, 164) | color: rgb(239, 221, 164) | |
| CMYK | cmyk(0%, 8%, 31%, 6%) | — | |
| HSV | hsv(46, 31%, 94%) | — | |
| HWB | hwb(46 65% 6%) | color: hwb(46 65% 6%) | |
| OKLCH | oklch(0.8987 0.076 92.63) | color: oklch(0.8987 0.076 92.63) | |
| Lab | lab(88.33 -2.15 30.28) | color: lab(88.33 -2.15 30.28) | |
| LCH | lch(88.33 30.36 94.06) | color: lch(88.33 30.36 94.06) |
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)
#E7E7B2 — rgb(231, 231, 178)
Deuteranopia (Green-blind)
#E8EAB5 — rgb(232, 234, 181)
Tritanopia (Blue-blind)
#EEBDBF — rgb(238, 189, 191)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 70%, 79%);
text
color: hsl(46, 70%, 79%);
border
border: 2px solid hsl(46, 70%, 79%);
gradient light
background: linear-gradient(to right, hsl(46, 70%, 99%), hsl(46, 70%, 79%));
gradient dark
background: linear-gradient(to right, hsl(46, 70%, 79%), hsl(46, 70%, 59%))
hex
background-color: #EFDDA4;
tailwind
bg-[hsl(46,70%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 70%, 79%, 0.4);
css variable
--color-primary: hsl(46, 70%, 79%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 70%, 79%)?
HEX: #EFDDA4 | RGB: rgb(239, 221, 164) | CMYK: 0%, 8%, 31%, 6% | HSV: 46°, 31%, 94%. Copy any format from the conversion table above.
What colors go well with #EFDDA4?
The complementary color is HSL(226, 70%, 79%). For a triadic harmony, use hues 46°, 166°, and 286°. For analogous combinations, try hues 16° and 76°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(46, 70%, 79%) in CSS?
As HSL: color: hsl(46, 70%, 79%); — As HEX: color: #EFDDA4; — As RGB: color: rgb(239, 221, 164); — Tailwind CSS: bg-[hsl(46,70%,79%)] — CSS variable: --color-primary: hsl(46, 70%, 79%);