HSL(48, 46%, 62%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(48,46%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(48, 46%, 62%) | color: hsl(48, 46%, 62%) | |
| HEX | #CBB972 | color: #CBB972 | |
| RGB | rgb(203, 185, 114) | color: rgb(203, 185, 114) | |
| CMYK | cmyk(0%, 9%, 44%, 20%) | — | |
| HSV | hsv(48, 44%, 80%) | — | |
| HWB | hwb(48 45% 20%) | color: hwb(48 45% 20%) | |
| OKLCH | oklch(0.7851 0.0933 95.59) | color: oklch(0.7851 0.0933 95.59) | |
| Lab | lab(75.21 -3.4 38.27) | color: lab(75.21 -3.4 38.27) | |
| LCH | lch(75.21 38.42 95.08) | color: lch(75.21 38.42 95.08) |
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)
#C3C383 — rgb(195, 195, 131)
Deuteranopia (Green-blind)
#C4C687 — rgb(196, 198, 135)
Tritanopia (Blue-blind)
#CA9194 — rgb(202, 145, 148)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(48, 46%, 62%);
text
color: hsl(48, 46%, 62%);
border
border: 2px solid hsl(48, 46%, 62%);
gradient light
background: linear-gradient(to right, hsl(48, 46%, 82%), hsl(48, 46%, 62%));
gradient dark
background: linear-gradient(to right, hsl(48, 46%, 62%), hsl(48, 46%, 42%))
hex
background-color: #CBB972;
tailwind
bg-[hsl(48,46%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(48, 46%, 62%, 0.4);
css variable
--color-primary: hsl(48, 46%, 62%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(48, 46%, 62%)?
HEX: #CBB972 | RGB: rgb(203, 185, 114) | CMYK: 0%, 9%, 44%, 20% | HSV: 48°, 44%, 80%. Copy any format from the conversion table above.
What colors go well with #CBB972?
The complementary color is HSL(228, 46%, 62%). 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, 46%, 62%) in CSS?
As HSL: color: hsl(48, 46%, 62%); — As HEX: color: #CBB972; — As RGB: color: rgb(203, 185, 114); — Tailwind CSS: bg-[hsl(48,46%,62%)] — CSS variable: --color-primary: hsl(48, 46%, 62%);