HSL(51, 80%, 67%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,80%,67%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 80%, 67%) | color: hsl(51, 80%, 67%) | |
| HEX | #EEDA68 | color: #EEDA68 | |
| RGB | rgb(238, 218, 104) | color: rgb(238, 218, 104) | |
| CMYK | cmyk(0%, 8%, 56%, 7%) | — | |
| HSV | hsv(51, 56%, 93%) | — | |
| HWB | hwb(51 41% 7%) | color: hwb(51 41% 7%) | |
| OKLCH | oklch(0.8827 0.1359 99.49) | color: oklch(0.8827 0.1359 99.49) | |
| Lab | lab(86.66 -6.95 57.61) | color: lab(86.66 -6.95 57.61) | |
| LCH | lch(86.66 58.03 96.88) | color: lch(86.66 58.03 96.88) |
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)
#E5E584 — rgb(229, 229, 132)
Deuteranopia (Green-blind)
#E7E88A — rgb(231, 232, 138)
Tritanopia (Blue-blind)
#ED999E — rgb(237, 153, 158)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 80%, 67%);
text
color: hsl(51, 80%, 67%);
border
border: 2px solid hsl(51, 80%, 67%);
gradient light
background: linear-gradient(to right, hsl(51, 80%, 87%), hsl(51, 80%, 67%));
gradient dark
background: linear-gradient(to right, hsl(51, 80%, 67%), hsl(51, 80%, 47%))
hex
background-color: #EEDA68;
tailwind
bg-[hsl(51,80%,67%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 80%, 67%, 0.4);
css variable
--color-primary: hsl(51, 80%, 67%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 80%, 67%)?
HEX: #EEDA68 | RGB: rgb(238, 218, 104) | CMYK: 0%, 8%, 56%, 7% | HSV: 51°, 56%, 93%. Copy any format from the conversion table above.
What colors go well with #EEDA68?
The complementary color is HSL(231, 80%, 67%). 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%, 67%) in CSS?
As HSL: color: hsl(51, 80%, 67%); — As HEX: color: #EEDA68; — As RGB: color: rgb(238, 218, 104); — Tailwind CSS: bg-[hsl(51,80%,67%)] — CSS variable: --color-primary: hsl(51, 80%, 67%);