HSL(51, 61%, 76%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,61%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 61%, 76%) | color: hsl(51, 61%, 76%) | |
| HEX | #E7DC9C | color: #E7DC9C | |
| RGB | rgb(231, 220, 156) | color: rgb(231, 220, 156) | |
| CMYK | cmyk(0%, 5%, 32%, 9%) | — | |
| HSV | hsv(51, 32%, 91%) | — | |
| HWB | hwb(51 62% 9%) | color: hwb(51 62% 9%) | |
| OKLCH | oklch(0.8884 0.083 99.58) | color: oklch(0.8884 0.083 99.58) | |
| Lab | lab(87.28 -5.67 32.86) | color: lab(87.28 -5.67 32.86) | |
| LCH | lch(87.28 33.35 99.79) | color: lch(87.28 33.35 99.79) |
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)
#E2E2AB — rgb(226, 226, 171)
Deuteranopia (Green-blind)
#E3E4AF — rgb(227, 228, 175)
Tritanopia (Blue-blind)
#E6B8BA — rgb(230, 184, 186)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 61%, 76%);
text
color: hsl(51, 61%, 76%);
border
border: 2px solid hsl(51, 61%, 76%);
gradient light
background: linear-gradient(to right, hsl(51, 61%, 96%), hsl(51, 61%, 76%));
gradient dark
background: linear-gradient(to right, hsl(51, 61%, 76%), hsl(51, 61%, 56%))
hex
background-color: #E7DC9C;
tailwind
bg-[hsl(51,61%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 61%, 76%, 0.4);
css variable
--color-primary: hsl(51, 61%, 76%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 61%, 76%)?
HEX: #E7DC9C | RGB: rgb(231, 220, 156) | CMYK: 0%, 5%, 32%, 9% | HSV: 51°, 32%, 91%. Copy any format from the conversion table above.
What colors go well with #E7DC9C?
The complementary color is HSL(231, 61%, 76%). 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, 61%, 76%) in CSS?
As HSL: color: hsl(51, 61%, 76%); — As HEX: color: #E7DC9C; — As RGB: color: rgb(231, 220, 156); — Tailwind CSS: bg-[hsl(51,61%,76%)] — CSS variable: --color-primary: hsl(51, 61%, 76%);