HSL(56, 62%, 51%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(56,62%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(56, 62%, 51%) | color: hsl(56, 62%, 51%) | |
| HEX | #D0C535 | color: #D0C535 | |
| RGB | rgb(208, 197, 53) | color: rgb(208, 197, 53) | |
| CMYK | cmyk(0%, 5%, 75%, 18%) | — | |
| HSV | hsv(56, 75%, 82%) | — | |
| HWB | hwb(56 21% 18%) | color: hwb(56 21% 18%) | |
| OKLCH | oklch(0.8083 0.1557 104.88) | color: oklch(0.8083 0.1557 104.88) | |
| Lab | lab(78.23 -11.83 68.59) | color: lab(78.23 -11.83 68.59) | |
| LCH | lch(78.23 69.6 99.79) | color: lch(78.23 69.6 99.79) |
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)
#CBCB58 — rgb(203, 203, 88)
Deuteranopia (Green-blind)
#CCCD60 — rgb(204, 205, 96)
Tritanopia (Blue-blind)
#CF7379 — rgb(207, 115, 121)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(56, 62%, 51%);
text
color: hsl(56, 62%, 51%);
border
border: 2px solid hsl(56, 62%, 51%);
gradient light
background: linear-gradient(to right, hsl(56, 62%, 71%), hsl(56, 62%, 51%));
gradient dark
background: linear-gradient(to right, hsl(56, 62%, 51%), hsl(56, 62%, 31%))
hex
background-color: #D0C535;
tailwind
bg-[hsl(56,62%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(56, 62%, 51%, 0.4);
css variable
--color-primary: hsl(56, 62%, 51%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(56, 62%, 51%)?
HEX: #D0C535 | RGB: rgb(208, 197, 53) | CMYK: 0%, 5%, 75%, 18% | HSV: 56°, 75%, 82%. Copy any format from the conversion table above.
What colors go well with #D0C535?
The complementary color is HSL(236, 62%, 51%). 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%, 51%) in CSS?
As HSL: color: hsl(56, 62%, 51%); — As HEX: color: #D0C535; — As RGB: color: rgb(208, 197, 53); — Tailwind CSS: bg-[hsl(56,62%,51%)] — CSS variable: --color-primary: hsl(56, 62%, 51%);