HSL(48, 30%, 77%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(48,30%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(48, 30%, 77%) | color: hsl(48, 30%, 77%) | |
| HEX | #D6CFB3 | color: #D6CFB3 | |
| RGB | rgb(214, 207, 179) | color: rgb(214, 207, 179) | |
| CMYK | cmyk(0%, 3%, 16%, 16%) | — | |
| HSV | hsv(48, 16%, 84%) | — | |
| HWB | hwb(48 71% 16%) | color: hwb(48 71% 16%) | |
| OKLCH | oklch(0.8527 0.0384 95.5) | color: oklch(0.8527 0.0384 95.5) | |
| Lab | lab(83.01 -2.22 14.8) | color: lab(83.01 -2.22 14.8) | |
| LCH | lch(83.01 14.97 98.53) | color: lch(83.01 14.97 98.53) |
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)
#D3D3BA — rgb(211, 211, 186)
Deuteranopia (Green-blind)
#D3D4BB — rgb(211, 212, 187)
Tritanopia (Blue-blind)
#D6BFC0 — rgb(214, 191, 192)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(48, 30%, 77%);
text
color: hsl(48, 30%, 77%);
border
border: 2px solid hsl(48, 30%, 77%);
gradient light
background: linear-gradient(to right, hsl(48, 30%, 97%), hsl(48, 30%, 77%));
gradient dark
background: linear-gradient(to right, hsl(48, 30%, 77%), hsl(48, 30%, 57%))
hex
background-color: #D6CFB3;
tailwind
bg-[hsl(48,30%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(48, 30%, 77%, 0.4);
css variable
--color-primary: hsl(48, 30%, 77%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(48, 30%, 77%)?
HEX: #D6CFB3 | RGB: rgb(214, 207, 179) | CMYK: 0%, 3%, 16%, 16% | HSV: 48°, 16%, 84%. Copy any format from the conversion table above.
What colors go well with #D6CFB3?
The complementary color is HSL(228, 30%, 77%). 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%, 77%) in CSS?
As HSL: color: hsl(48, 30%, 77%); — As HEX: color: #D6CFB3; — As RGB: color: rgb(214, 207, 179); — Tailwind CSS: bg-[hsl(48,30%,77%)] — CSS variable: --color-primary: hsl(48, 30%, 77%);