HSL(56, 62%, 62%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(56,62%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(56, 62%, 62%) | color: hsl(56, 62%, 62%) | |
| HEX | #DAD262 | color: #DAD262 | |
| RGB | rgb(218, 210, 98) | color: rgb(218, 210, 98) | |
| CMYK | cmyk(0%, 4%, 55%, 15%) | — | |
| HSV | hsv(56, 55%, 85%) | — | |
| HWB | hwb(56 38% 15%) | color: hwb(56 38% 15%) | |
| OKLCH | oklch(0.8482 0.134 105.15) | color: oklch(0.8482 0.134 105.15) | |
| Lab | lab(82.85 -11.54 55.54) | color: lab(82.85 -11.54 55.54) | |
| LCH | lch(82.85 56.73 101.74) | color: lch(82.85 56.73 101.74) |
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)
#D7D67D — rgb(215, 214, 125)
Deuteranopia (Green-blind)
#D7D884 — rgb(215, 216, 132)
Tritanopia (Blue-blind)
#DA9297 — rgb(218, 146, 151)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(56, 62%, 62%);
text
color: hsl(56, 62%, 62%);
border
border: 2px solid hsl(56, 62%, 62%);
gradient light
background: linear-gradient(to right, hsl(56, 62%, 82%), hsl(56, 62%, 62%));
gradient dark
background: linear-gradient(to right, hsl(56, 62%, 62%), hsl(56, 62%, 42%))
hex
background-color: #DAD262;
tailwind
bg-[hsl(56,62%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(56, 62%, 62%, 0.4);
css variable
--color-primary: hsl(56, 62%, 62%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(56, 62%, 62%)?
HEX: #DAD262 | RGB: rgb(218, 210, 98) | CMYK: 0%, 4%, 55%, 15% | HSV: 56°, 55%, 85%. Copy any format from the conversion table above.
What colors go well with #DAD262?
The complementary color is HSL(236, 62%, 62%). For a triadic harmony, use hues 56°, 176°, and 296°. For analogous combinations, try hues 26° and 86°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(56, 62%, 62%) in CSS?
As HSL: color: hsl(56, 62%, 62%); — As HEX: color: #DAD262; — As RGB: color: rgb(218, 210, 98); — Tailwind CSS: bg-[hsl(56,62%,62%)] — CSS variable: --color-primary: hsl(56, 62%, 62%);