HSL(51, 43%, 80%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,43%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 43%, 80%) | color: hsl(51, 43%, 80%) | |
| HEX | #E2DBB6 | color: #E2DBB6 | |
| RGB | rgb(226, 219, 182) | color: rgb(226, 219, 182) | |
| CMYK | cmyk(0%, 3%, 19%, 11%) | — | |
| HSV | hsv(50, 19%, 89%) | — | |
| HWB | hwb(50 72% 11%) | color: hwb(50 72% 11%) | |
| OKLCH | oklch(0.8875 0.0495 98.42) | color: oklch(0.8875 0.0495 98.42) | |
| Lab | lab(87.1 -3.57 19.09) | color: lab(87.1 -3.57 19.09) | |
| LCH | lch(87.1 19.42 100.59) | color: lch(87.1 19.42 100.59) |
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)
#DFDFBF — rgb(223, 223, 191)
Deuteranopia (Green-blind)
#DFE0C1 — rgb(223, 224, 193)
Tritanopia (Blue-blind)
#E2C6C8 — rgb(226, 198, 200)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 43%, 80%);
text
color: hsl(51, 43%, 80%);
border
border: 2px solid hsl(51, 43%, 80%);
gradient light
background: linear-gradient(to right, hsl(51, 43%, 100%), hsl(51, 43%, 80%));
gradient dark
background: linear-gradient(to right, hsl(51, 43%, 80%), hsl(51, 43%, 60%))
hex
background-color: #E2DBB6;
tailwind
bg-[hsl(51,43%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 43%, 80%, 0.4);
css variable
--color-primary: hsl(51, 43%, 80%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 43%, 80%)?
HEX: #E2DBB6 | RGB: rgb(226, 219, 182) | CMYK: 0%, 3%, 19%, 11% | HSV: 50°, 19%, 89%. Copy any format from the conversion table above.
What colors go well with #E2DBB6?
The complementary color is HSL(231, 43%, 80%). 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, 43%, 80%) in CSS?
As HSL: color: hsl(51, 43%, 80%); — As HEX: color: #E2DBB6; — As RGB: color: rgb(226, 219, 182); — Tailwind CSS: bg-[hsl(51,43%,80%)] — CSS variable: --color-primary: hsl(51, 43%, 80%);