HSL(62, 55%, 54%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(62,55%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(62, 55%, 54%) | color: hsl(62, 55%, 54%) | |
| HEX | #C6CA49 | color: #C6CA49 | |
| RGB | rgb(198, 202, 73) | color: rgb(198, 202, 73) | |
| CMYK | cmyk(2%, 0%, 64%, 21%) | — | |
| HSV | hsv(62, 64%, 79%) | — | |
| HWB | hwb(62 28% 21%) | color: hwb(62 28% 21%) | |
| OKLCH | oklch(0.8119 0.1492 111) | color: oklch(0.8119 0.1492 111) | |
| Lab | lab(78.88 -17.53 61.55) | color: lab(78.88 -17.53 61.55) | |
| LCH | lch(78.88 64 105.9) | color: lch(78.88 64 105.9) |
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)
#C8C868 — rgb(200, 200, 104)
Deuteranopia (Green-blind)
#C8C770 — rgb(200, 199, 112)
Tritanopia (Blue-blind)
#C68186 — rgb(198, 129, 134)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(62, 55%, 54%);
text
color: hsl(62, 55%, 54%);
border
border: 2px solid hsl(62, 55%, 54%);
gradient light
background: linear-gradient(to right, hsl(62, 55%, 74%), hsl(62, 55%, 54%));
gradient dark
background: linear-gradient(to right, hsl(62, 55%, 54%), hsl(62, 55%, 34%))
hex
background-color: #C6CA49;
tailwind
bg-[hsl(62,55%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(62, 55%, 54%, 0.4);
css variable
--color-primary: hsl(62, 55%, 54%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(62, 55%, 54%)?
HEX: #C6CA49 | RGB: rgb(198, 202, 73) | CMYK: 2%, 0%, 64%, 21% | HSV: 62°, 64%, 79%. Copy any format from the conversion table above.
What colors go well with #C6CA49?
The complementary color is HSL(242, 55%, 54%). 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, 55%, 54%) in CSS?
As HSL: color: hsl(62, 55%, 54%); — As HEX: color: #C6CA49; — As RGB: color: rgb(198, 202, 73); — Tailwind CSS: bg-[hsl(62,55%,54%)] — CSS variable: --color-primary: hsl(62, 55%, 54%);