HSL(50, 17%, 74%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(50,17%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(50, 17%, 74%) | color: hsl(50, 17%, 74%) | |
| HEX | #C8C4B1 | color: #C8C4B1 | |
| RGB | rgb(200, 196, 177) | color: rgb(200, 196, 177) | |
| CMYK | cmyk(0%, 2%, 12%, 22%) | — | |
| HSV | hsv(50, 12%, 78%) | — | |
| HWB | hwb(50 69% 22%) | color: hwb(50 69% 22%) | |
| OKLCH | oklch(0.8183 0.0263 97.18) | color: oklch(0.8183 0.0263 97.18) | |
| Lab | lab(79 -1.89 10.04) | color: lab(79 -1.89 10.04) | |
| LCH | lch(79 10.22 100.66) | color: lch(79 10.22 100.66) |
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)
#C6C6B6 — rgb(198, 198, 182)
Deuteranopia (Green-blind)
#C7C7B7 — rgb(199, 199, 183)
Tritanopia (Blue-blind)
#C8B9BA — rgb(200, 185, 186)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(50, 17%, 74%);
text
color: hsl(50, 17%, 74%);
border
border: 2px solid hsl(50, 17%, 74%);
gradient light
background: linear-gradient(to right, hsl(50, 17%, 94%), hsl(50, 17%, 74%));
gradient dark
background: linear-gradient(to right, hsl(50, 17%, 74%), hsl(50, 17%, 54%))
hex
background-color: #C8C4B1;
tailwind
bg-[hsl(50,17%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(50, 17%, 74%, 0.4);
css variable
--color-primary: hsl(50, 17%, 74%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(50, 17%, 74%)?
HEX: #C8C4B1 | RGB: rgb(200, 196, 177) | CMYK: 0%, 2%, 12%, 22% | HSV: 50°, 12%, 78%. Copy any format from the conversion table above.
What colors go well with #C8C4B1?
The complementary color is HSL(230, 17%, 74%). For a triadic harmony, use hues 50°, 170°, and 290°. For analogous combinations, try hues 20° and 80°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(50, 17%, 74%) in CSS?
As HSL: color: hsl(50, 17%, 74%); — As HEX: color: #C8C4B1; — As RGB: color: rgb(200, 196, 177); — Tailwind CSS: bg-[hsl(50,17%,74%)] — CSS variable: --color-primary: hsl(50, 17%, 74%);