HSL(64, 40%, 43%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(64,40%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(64, 40%, 43%) | color: hsl(64, 40%, 43%) | |
| HEX | #949A42 | color: #949A42 | |
| RGB | rgb(148, 154, 66) | color: rgb(148, 154, 66) | |
| CMYK | cmyk(4%, 0%, 57%, 40%) | — | |
| HSV | hsv(64, 57%, 60%) | — | |
| HWB | hwb(64 26% 40%) | color: hwb(64 26% 40%) | |
| OKLCH | oklch(0.6629 0.1121 112.65) | color: oklch(0.6629 0.1121 112.65) | |
| Lab | lab(61.48 -14.68 44.57) | color: lab(61.48 -14.68 44.57) | |
| LCH | lch(61.48 46.93 108.23) | color: lch(61.48 46.93 108.23) |
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)
#979757 — rgb(151, 151, 87)
Deuteranopia (Green-blind)
#96965C — rgb(150, 150, 92)
Tritanopia (Blue-blind)
#94686C — rgb(148, 104, 108)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(64, 40%, 43%);
text
color: hsl(64, 40%, 43%);
border
border: 2px solid hsl(64, 40%, 43%);
gradient light
background: linear-gradient(to right, hsl(64, 40%, 63%), hsl(64, 40%, 43%));
gradient dark
background: linear-gradient(to right, hsl(64, 40%, 43%), hsl(64, 40%, 23%))
hex
background-color: #949A42;
tailwind
bg-[hsl(64,40%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(64, 40%, 43%, 0.4);
css variable
--color-primary: hsl(64, 40%, 43%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(64, 40%, 43%)?
HEX: #949A42 | RGB: rgb(148, 154, 66) | CMYK: 4%, 0%, 57%, 40% | HSV: 64°, 57%, 60%. Copy any format from the conversion table above.
What colors go well with #949A42?
The complementary color is HSL(244, 40%, 43%). For a triadic harmony, use hues 64°, 184°, and 304°. For analogous combinations, try hues 34° and 94°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(64, 40%, 43%) in CSS?
As HSL: color: hsl(64, 40%, 43%); — As HEX: color: #949A42; — As RGB: color: rgb(148, 154, 66); — Tailwind CSS: bg-[hsl(64,40%,43%)] — CSS variable: --color-primary: hsl(64, 40%, 43%);