HSL(62, 60%, 56%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(62,60%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(62, 60%, 56%) | color: hsl(62, 60%, 56%) | |
| HEX | #CED24B | color: #CED24B | |
| RGB | rgb(206, 210, 75) | color: rgb(206, 210, 75) | |
| CMYK | cmyk(2%, 0%, 64%, 18%) | — | |
| HSV | hsv(62, 64%, 82%) | — | |
| HWB | hwb(62 30% 18%) | color: hwb(62 30% 18%) | |
| OKLCH | oklch(0.8359 0.1545 110.95) | color: oklch(0.8359 0.1545 110.95) | |
| Lab | lab(81.69 -18.06 63.86) | color: lab(81.69 -18.06 63.86) | |
| LCH | lch(81.69 66.36 105.79) | color: lch(81.69 66.36 105.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)
#D0D06C — rgb(208, 208, 108)
Deuteranopia (Green-blind)
#D0CF74 — rgb(208, 207, 116)
Tritanopia (Blue-blind)
#CE858B — rgb(206, 133, 139)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(62, 60%, 56%);
text
color: hsl(62, 60%, 56%);
border
border: 2px solid hsl(62, 60%, 56%);
gradient light
background: linear-gradient(to right, hsl(62, 60%, 76%), hsl(62, 60%, 56%));
gradient dark
background: linear-gradient(to right, hsl(62, 60%, 56%), hsl(62, 60%, 36%))
hex
background-color: #CED24B;
tailwind
bg-[hsl(62,60%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(62, 60%, 56%, 0.4);
css variable
--color-primary: hsl(62, 60%, 56%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(62, 60%, 56%)?
HEX: #CED24B | RGB: rgb(206, 210, 75) | CMYK: 2%, 0%, 64%, 18% | HSV: 62°, 64%, 82%. Copy any format from the conversion table above.
What colors go well with #CED24B?
The complementary color is HSL(242, 60%, 56%). For a triadic harmony, use hues 62°, 182°, and 302°. For analogous combinations, try hues 32° and 92°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(62, 60%, 56%) in CSS?
As HSL: color: hsl(62, 60%, 56%); — As HEX: color: #CED24B; — As RGB: color: rgb(206, 210, 75); — Tailwind CSS: bg-[hsl(62,60%,56%)] — CSS variable: --color-primary: hsl(62, 60%, 56%);