HSL(48, 45%, 67%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(48,45%,67%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(48, 45%, 67%) | color: hsl(48, 45%, 67%) | |
| HEX | #D1C285 | color: #D1C285 | |
| RGB | rgb(209, 194, 133) | color: rgb(209, 194, 133) | |
| CMYK | cmyk(0%, 7%, 36%, 18%) | — | |
| HSV | hsv(48, 36%, 82%) | — | |
| HWB | hwb(48 52% 18%) | color: hwb(48 52% 18%) | |
| OKLCH | oklch(0.8123 0.0812 95.99) | color: oklch(0.8123 0.0812 95.99) | |
| Lab | lab(78.36 -3.6 32.62) | color: lab(78.36 -3.6 32.62) | |
| LCH | lch(78.36 32.82 96.3) | color: lch(78.36 32.82 96.3) |
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)
#CBCA94 — rgb(203, 202, 148)
Deuteranopia (Green-blind)
#CBCD97 — rgb(203, 205, 151)
Tritanopia (Blue-blind)
#D09FA2 — rgb(208, 159, 162)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(48, 45%, 67%);
text
color: hsl(48, 45%, 67%);
border
border: 2px solid hsl(48, 45%, 67%);
gradient light
background: linear-gradient(to right, hsl(48, 45%, 87%), hsl(48, 45%, 67%));
gradient dark
background: linear-gradient(to right, hsl(48, 45%, 67%), hsl(48, 45%, 47%))
hex
background-color: #D1C285;
tailwind
bg-[hsl(48,45%,67%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(48, 45%, 67%, 0.4);
css variable
--color-primary: hsl(48, 45%, 67%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(48, 45%, 67%)?
HEX: #D1C285 | RGB: rgb(209, 194, 133) | CMYK: 0%, 7%, 36%, 18% | HSV: 48°, 36%, 82%. Copy any format from the conversion table above.
What colors go well with #D1C285?
The complementary color is HSL(228, 45%, 67%). 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, 45%, 67%) in CSS?
As HSL: color: hsl(48, 45%, 67%); — As HEX: color: #D1C285; — As RGB: color: rgb(209, 194, 133); — Tailwind CSS: bg-[hsl(48,45%,67%)] — CSS variable: --color-primary: hsl(48, 45%, 67%);