HSL(51, 12%, 79%)
Grayish Yellow — Yellow color
Adjust Color
Color Information
Color Name
Grayish Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(51,12%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 12%, 79%) | color: hsl(51, 12%, 79%) | |
| HEX | #D0CEC3 | color: #D0CEC3 | |
| RGB | rgb(208, 206, 195) | color: rgb(208, 206, 195) | |
| CMYK | cmyk(0%, 1%, 6%, 18%) | — | |
| HSV | hsv(51, 6%, 82%) | — | |
| HWB | hwb(51 77% 18%) | color: hwb(51 77% 18%) | |
| OKLCH | oklch(0.8499 0.0152 98.32) | color: oklch(0.8499 0.0152 98.32) | |
| Lab | lab(82.64 -1.25 5.71) | color: lab(82.64 -1.25 5.71) | |
| LCH | lch(82.64 5.85 102.35) | color: lch(82.64 5.85 102.35) |
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)
#CFCFC6 — rgb(207, 207, 198)
Deuteranopia (Green-blind)
#CFCFC6 — rgb(207, 207, 198)
Tritanopia (Blue-blind)
#D0C8C8 — rgb(208, 200, 200)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 12%, 79%);
text
color: hsl(51, 12%, 79%);
border
border: 2px solid hsl(51, 12%, 79%);
gradient light
background: linear-gradient(to right, hsl(51, 12%, 99%), hsl(51, 12%, 79%));
gradient dark
background: linear-gradient(to right, hsl(51, 12%, 79%), hsl(51, 12%, 59%))
hex
background-color: #D0CEC3;
tailwind
bg-[hsl(51,12%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 12%, 79%, 0.4);
css variable
--color-primary: hsl(51, 12%, 79%);
Related Colors
Use Cases for Grayish Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 12%, 79%)?
HEX: #D0CEC3 | RGB: rgb(208, 206, 195) | CMYK: 0%, 1%, 6%, 18% | HSV: 51°, 6%, 82%. Copy any format from the conversion table above.
What colors go well with #D0CEC3?
The complementary color is HSL(231, 12%, 79%). 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, 12%, 79%) in CSS?
As HSL: color: hsl(51, 12%, 79%); — As HEX: color: #D0CEC3; — As RGB: color: rgb(208, 206, 195); — Tailwind CSS: bg-[hsl(51,12%,79%)] — CSS variable: --color-primary: hsl(51, 12%, 79%);