HSL(51, 80%, 64%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,80%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 80%, 64%) | color: hsl(51, 80%, 64%) | |
| HEX | #EDD75A | color: #EDD75A | |
| RGB | rgb(237, 215, 90) | color: rgb(237, 215, 90) | |
| CMYK | cmyk(0%, 9%, 62%, 7%) | — | |
| HSV | hsv(51, 62%, 93%) | — | |
| HWB | hwb(51 35% 7%) | color: hwb(51 35% 7%) | |
| OKLCH | oklch(0.8742 0.145 99.33) | color: oklch(0.8742 0.145 99.33) | |
| Lab | lab(85.68 -6.81 62.66) | color: lab(85.68 -6.81 62.66) | |
| LCH | lch(85.68 63.03 96.2) | color: lch(85.68 63.03 96.2) |
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)
#E3E378 — rgb(227, 227, 120)
Deuteranopia (Green-blind)
#E5E680 — rgb(229, 230, 128)
Tritanopia (Blue-blind)
#EC9095 — rgb(236, 144, 149)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 80%, 64%);
text
color: hsl(51, 80%, 64%);
border
border: 2px solid hsl(51, 80%, 64%);
gradient light
background: linear-gradient(to right, hsl(51, 80%, 84%), hsl(51, 80%, 64%));
gradient dark
background: linear-gradient(to right, hsl(51, 80%, 64%), hsl(51, 80%, 44%))
hex
background-color: #EDD75A;
tailwind
bg-[hsl(51,80%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 80%, 64%, 0.4);
css variable
--color-primary: hsl(51, 80%, 64%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 80%, 64%)?
HEX: #EDD75A | RGB: rgb(237, 215, 90) | CMYK: 0%, 9%, 62%, 7% | HSV: 51°, 62%, 93%. Copy any format from the conversion table above.
What colors go well with #EDD75A?
The complementary color is HSL(231, 80%, 64%). For a triadic harmony, use hues 51°, 171°, and 291°. For analogous combinations, try hues 21° and 81°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(51, 80%, 64%) in CSS?
As HSL: color: hsl(51, 80%, 64%); — As HEX: color: #EDD75A; — As RGB: color: rgb(237, 215, 90); — Tailwind CSS: bg-[hsl(51,80%,64%)] — CSS variable: --color-primary: hsl(51, 80%, 64%);