HSL(49, 30%, 72%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(49,30%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(49, 30%, 72%) | color: hsl(49, 30%, 72%) | |
| HEX | #CDC5A2 | color: #CDC5A2 | |
| RGB | rgb(205, 197, 162) | color: rgb(205, 197, 162) | |
| CMYK | cmyk(0%, 4%, 21%, 20%) | — | |
| HSV | hsv(49, 21%, 80%) | — | |
| HWB | hwb(49 63% 20%) | color: hwb(49 63% 20%) | |
| OKLCH | oklch(0.8209 0.0479 96.6) | color: oklch(0.8209 0.0479 96.6) | |
| Lab | lab(79.34 -2.89 18.6) | color: lab(79.34 -2.89 18.6) | |
| LCH | lch(79.34 18.82 98.83) | color: lch(79.34 18.82 98.83) |
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)
#CAC9AA — rgb(202, 201, 170)
Deuteranopia (Green-blind)
#CACBAD — rgb(202, 203, 173)
Tritanopia (Blue-blind)
#CDB1B3 — rgb(205, 177, 179)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(49, 30%, 72%);
text
color: hsl(49, 30%, 72%);
border
border: 2px solid hsl(49, 30%, 72%);
gradient light
background: linear-gradient(to right, hsl(49, 30%, 92%), hsl(49, 30%, 72%));
gradient dark
background: linear-gradient(to right, hsl(49, 30%, 72%), hsl(49, 30%, 52%))
hex
background-color: #CDC5A2;
tailwind
bg-[hsl(49,30%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(49, 30%, 72%, 0.4);
css variable
--color-primary: hsl(49, 30%, 72%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(49, 30%, 72%)?
HEX: #CDC5A2 | RGB: rgb(205, 197, 162) | CMYK: 0%, 4%, 21%, 20% | HSV: 49°, 21%, 80%. Copy any format from the conversion table above.
What colors go well with #CDC5A2?
The complementary color is HSL(229, 30%, 72%). For a triadic harmony, use hues 49°, 169°, and 289°. For analogous combinations, try hues 19° and 79°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(49, 30%, 72%) in CSS?
As HSL: color: hsl(49, 30%, 72%); — As HEX: color: #CDC5A2; — As RGB: color: rgb(205, 197, 162); — Tailwind CSS: bg-[hsl(49,30%,72%)] — CSS variable: --color-primary: hsl(49, 30%, 72%);