HSL(48, 30%, 74%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(48,30%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(48, 30%, 74%) | color: hsl(48, 30%, 74%) | |
| HEX | #D1C9A9 | color: #D1C9A9 | |
| RGB | rgb(209, 201, 169) | color: rgb(209, 201, 169) | |
| CMYK | cmyk(0%, 4%, 19%, 18%) | — | |
| HSV | hsv(48, 19%, 82%) | — | |
| HWB | hwb(48 66% 18%) | color: hwb(48 66% 18%) | |
| OKLCH | oklch(0.834 0.0439 95.56) | color: oklch(0.834 0.0439 95.56) | |
| Lab | lab(80.85 -2.45 17.02) | color: lab(80.85 -2.45 17.02) | |
| LCH | lch(80.85 17.2 98.19) | color: lch(80.85 17.2 98.19) |
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)
#CECDB1 — rgb(206, 205, 177)
Deuteranopia (Green-blind)
#CECFB3 — rgb(206, 207, 179)
Tritanopia (Blue-blind)
#D1B7B8 — rgb(209, 183, 184)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(48, 30%, 74%);
text
color: hsl(48, 30%, 74%);
border
border: 2px solid hsl(48, 30%, 74%);
gradient light
background: linear-gradient(to right, hsl(48, 30%, 94%), hsl(48, 30%, 74%));
gradient dark
background: linear-gradient(to right, hsl(48, 30%, 74%), hsl(48, 30%, 54%))
hex
background-color: #D1C9A9;
tailwind
bg-[hsl(48,30%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(48, 30%, 74%, 0.4);
css variable
--color-primary: hsl(48, 30%, 74%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(48, 30%, 74%)?
HEX: #D1C9A9 | RGB: rgb(209, 201, 169) | CMYK: 0%, 4%, 19%, 18% | HSV: 48°, 19%, 82%. Copy any format from the conversion table above.
What colors go well with #D1C9A9?
The complementary color is HSL(228, 30%, 74%). For a triadic harmony, use hues 48°, 168°, and 288°. For analogous combinations, try hues 18° and 78°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(48, 30%, 74%) in CSS?
As HSL: color: hsl(48, 30%, 74%); — As HEX: color: #D1C9A9; — As RGB: color: rgb(209, 201, 169); — Tailwind CSS: bg-[hsl(48,30%,74%)] — CSS variable: --color-primary: hsl(48, 30%, 74%);