HSL(46, 70%, 77%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,70%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 70%, 77%) | color: hsl(46, 70%, 77%) | |
| HEX | #EDDA9B | color: #EDDA9B | |
| RGB | rgb(237, 218, 155) | color: rgb(237, 218, 155) | |
| CMYK | cmyk(0%, 8%, 35%, 7%) | — | |
| HSV | hsv(46, 35%, 93%) | — | |
| HWB | hwb(46 60% 7%) | color: hwb(46 60% 7%) | |
| OKLCH | oklch(0.8893 0.0833 93.3) | color: oklch(0.8893 0.0833 93.3) | |
| Lab | lab(87.25 -2.47 33.42) | color: lab(87.25 -2.47 33.42) | |
| LCH | lch(87.25 33.51 94.23) | color: lch(87.25 33.51 94.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)
#E5E5AA — rgb(229, 229, 170)
Deuteranopia (Green-blind)
#E6E7AE — rgb(230, 231, 174)
Tritanopia (Blue-blind)
#ECB6B9 — rgb(236, 182, 185)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 70%, 77%);
text
color: hsl(46, 70%, 77%);
border
border: 2px solid hsl(46, 70%, 77%);
gradient light
background: linear-gradient(to right, hsl(46, 70%, 97%), hsl(46, 70%, 77%));
gradient dark
background: linear-gradient(to right, hsl(46, 70%, 77%), hsl(46, 70%, 57%))
hex
background-color: #EDDA9B;
tailwind
bg-[hsl(46,70%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 70%, 77%, 0.4);
css variable
--color-primary: hsl(46, 70%, 77%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 70%, 77%)?
HEX: #EDDA9B | RGB: rgb(237, 218, 155) | CMYK: 0%, 8%, 35%, 7% | HSV: 46°, 35%, 93%. Copy any format from the conversion table above.
What colors go well with #EDDA9B?
The complementary color is HSL(226, 70%, 77%). 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%, 77%) in CSS?
As HSL: color: hsl(46, 70%, 77%); — As HEX: color: #EDDA9B; — As RGB: color: rgb(237, 218, 155); — Tailwind CSS: bg-[hsl(46,70%,77%)] — CSS variable: --color-primary: hsl(46, 70%, 77%);