HSL(63, 22%, 40%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(63,22%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(63, 22%, 40%) | color: hsl(63, 22%, 40%) | |
| HEX | #7A7C50 | color: #7A7C50 | |
| RGB | rgb(122, 124, 80) | color: rgb(122, 124, 80) | |
| CMYK | cmyk(2%, 0%, 35%, 51%) | — | |
| HSV | hsv(63, 35%, 49%) | — | |
| HWB | hwb(63 32% 51%) | color: hwb(63 32% 51%) | |
| OKLCH | oklch(0.5733 0.0628 110.44) | color: oklch(0.5733 0.0628 110.44) | |
| Lab | lab(50.84 -8.17 23.82) | color: lab(50.84 -8.17 23.82) | |
| LCH | lch(50.84 25.18 108.93) | color: lch(50.84 25.18 108.93) |
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)
#7B7B5B — rgb(123, 123, 91)
Deuteranopia (Green-blind)
#7B7B5D — rgb(123, 123, 93)
Tritanopia (Blue-blind)
#7A6365 — rgb(122, 99, 101)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(63, 22%, 40%);
text
color: hsl(63, 22%, 40%);
border
border: 2px solid hsl(63, 22%, 40%);
gradient light
background: linear-gradient(to right, hsl(63, 22%, 60%), hsl(63, 22%, 40%));
gradient dark
background: linear-gradient(to right, hsl(63, 22%, 40%), hsl(63, 22%, 20%))
hex
background-color: #7A7C50;
tailwind
bg-[hsl(63,22%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(63, 22%, 40%, 0.4);
css variable
--color-primary: hsl(63, 22%, 40%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(63, 22%, 40%)?
HEX: #7A7C50 | RGB: rgb(122, 124, 80) | CMYK: 2%, 0%, 35%, 51% | HSV: 63°, 35%, 49%. Copy any format from the conversion table above.
What colors go well with #7A7C50?
The complementary color is HSL(243, 22%, 40%). For a triadic harmony, use hues 63°, 183°, and 303°. For analogous combinations, try hues 33° and 93°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(63, 22%, 40%) in CSS?
As HSL: color: hsl(63, 22%, 40%); — As HEX: color: #7A7C50; — As RGB: color: rgb(122, 124, 80); — Tailwind CSS: bg-[hsl(63,22%,40%)] — CSS variable: --color-primary: hsl(63, 22%, 40%);