HSL(62, 62%, 49%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(62,62%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(62, 62%, 49%) | color: hsl(62, 62%, 49%) | |
| HEX | #C5CA2F | color: #C5CA2F | |
| RGB | rgb(197, 202, 47) | color: rgb(197, 202, 47) | |
| CMYK | cmyk(2%, 0%, 77%, 21%) | — | |
| HSV | hsv(62, 77%, 79%) | — | |
| HWB | hwb(62 18% 21%) | color: hwb(62 18% 21%) | |
| OKLCH | oklch(0.8093 0.1655 111.5) | color: oklch(0.8093 0.1655 111.5) | |
| Lab | lab(78.65 -19.24 70.55) | color: lab(78.65 -19.24 70.55) | |
| LCH | lch(78.65 73.13 105.25) | color: lch(78.65 73.13 105.25) |
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)
#C7C755 — rgb(199, 199, 85)
Deuteranopia (Green-blind)
#C7C75E — rgb(199, 199, 94)
Tritanopia (Blue-blind)
#C57279 — rgb(197, 114, 121)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(62, 62%, 49%);
text
color: hsl(62, 62%, 49%);
border
border: 2px solid hsl(62, 62%, 49%);
gradient light
background: linear-gradient(to right, hsl(62, 62%, 69%), hsl(62, 62%, 49%));
gradient dark
background: linear-gradient(to right, hsl(62, 62%, 49%), hsl(62, 62%, 29%))
hex
background-color: #C5CA2F;
tailwind
bg-[hsl(62,62%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(62, 62%, 49%, 0.4);
css variable
--color-primary: hsl(62, 62%, 49%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(62, 62%, 49%)?
HEX: #C5CA2F | RGB: rgb(197, 202, 47) | CMYK: 2%, 0%, 77%, 21% | HSV: 62°, 77%, 79%. Copy any format from the conversion table above.
What colors go well with #C5CA2F?
The complementary color is HSL(242, 62%, 49%). 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, 62%, 49%) in CSS?
As HSL: color: hsl(62, 62%, 49%); — As HEX: color: #C5CA2F; — As RGB: color: rgb(197, 202, 47); — Tailwind CSS: bg-[hsl(62,62%,49%)] — CSS variable: --color-primary: hsl(62, 62%, 49%);