HSL(51, 44%, 72%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,44%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 44%, 72%) | color: hsl(51, 44%, 72%) | |
| HEX | #D7CE98 | color: #D7CE98 | |
| RGB | rgb(215, 206, 152) | color: rgb(215, 206, 152) | |
| CMYK | cmyk(0%, 4%, 29%, 16%) | — | |
| HSV | hsv(51, 29%, 84%) | — | |
| HWB | hwb(51 60% 16%) | color: hwb(51 60% 16%) | |
| OKLCH | oklch(0.8456 0.0715 99.76) | color: oklch(0.8456 0.0715 99.76) | |
| Lab | lab(82.3 -5.14 28.05) | color: lab(82.3 -5.14 28.05) | |
| LCH | lch(82.3 28.52 100.38) | color: lch(82.3 28.52 100.38) |
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)
#D3D3A5 — rgb(211, 211, 165)
Deuteranopia (Green-blind)
#D4D4A8 — rgb(212, 212, 168)
Tritanopia (Blue-blind)
#D7AFB2 — rgb(215, 175, 178)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 44%, 72%);
text
color: hsl(51, 44%, 72%);
border
border: 2px solid hsl(51, 44%, 72%);
gradient light
background: linear-gradient(to right, hsl(51, 44%, 92%), hsl(51, 44%, 72%));
gradient dark
background: linear-gradient(to right, hsl(51, 44%, 72%), hsl(51, 44%, 52%))
hex
background-color: #D7CE98;
tailwind
bg-[hsl(51,44%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 44%, 72%, 0.4);
css variable
--color-primary: hsl(51, 44%, 72%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 44%, 72%)?
HEX: #D7CE98 | RGB: rgb(215, 206, 152) | CMYK: 0%, 4%, 29%, 16% | HSV: 51°, 29%, 84%. Copy any format from the conversion table above.
What colors go well with #D7CE98?
The complementary color is HSL(231, 44%, 72%). 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, 44%, 72%) in CSS?
As HSL: color: hsl(51, 44%, 72%); — As HEX: color: #D7CE98; — As RGB: color: rgb(215, 206, 152); — Tailwind CSS: bg-[hsl(51,44%,72%)] — CSS variable: --color-primary: hsl(51, 44%, 72%);