HSL(51, 76%, 67%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,76%,67%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 76%, 67%) | color: hsl(51, 76%, 67%) | |
| HEX | #EBD86B | color: #EBD86B | |
| RGB | rgb(235, 216, 107) | color: rgb(235, 216, 107) | |
| CMYK | cmyk(0%, 8%, 54%, 8%) | — | |
| HSV | hsv(51, 54%, 92%) | — | |
| HWB | hwb(51 42% 8%) | color: hwb(51 42% 8%) | |
| OKLCH | oklch(0.8763 0.1313 99.58) | color: oklch(0.8763 0.1313 99.58) | |
| Lab | lab(85.93 -6.93 55.32) | color: lab(85.93 -6.93 55.32) | |
| LCH | lch(85.93 55.75 97.14) | color: lch(85.93 55.75 97.14) |
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)
#E3E385 — rgb(227, 227, 133)
Deuteranopia (Green-blind)
#E4E58C — rgb(228, 229, 140)
Tritanopia (Blue-blind)
#EA9A9F — rgb(234, 154, 159)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 76%, 67%);
text
color: hsl(51, 76%, 67%);
border
border: 2px solid hsl(51, 76%, 67%);
gradient light
background: linear-gradient(to right, hsl(51, 76%, 87%), hsl(51, 76%, 67%));
gradient dark
background: linear-gradient(to right, hsl(51, 76%, 67%), hsl(51, 76%, 47%))
hex
background-color: #EBD86B;
tailwind
bg-[hsl(51,76%,67%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 76%, 67%, 0.4);
css variable
--color-primary: hsl(51, 76%, 67%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 76%, 67%)?
HEX: #EBD86B | RGB: rgb(235, 216, 107) | CMYK: 0%, 8%, 54%, 8% | HSV: 51°, 54%, 92%. Copy any format from the conversion table above.
What colors go well with #EBD86B?
The complementary color is HSL(231, 76%, 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, 76%, 67%) in CSS?
As HSL: color: hsl(51, 76%, 67%); — As HEX: color: #EBD86B; — As RGB: color: rgb(235, 216, 107); — Tailwind CSS: bg-[hsl(51,76%,67%)] — CSS variable: --color-primary: hsl(51, 76%, 67%);