HSL(64, 40%, 35%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(64,40%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(64, 40%, 35%) | color: hsl(64, 40%, 35%) | |
| HEX | #787D36 | color: #787D36 | |
| RGB | rgb(120, 125, 54) | color: rgb(120, 125, 54) | |
| CMYK | cmyk(4%, 0%, 57%, 51%) | — | |
| HSV | hsv(64, 57%, 49%) | — | |
| HWB | hwb(64 21% 51%) | color: hwb(64 21% 51%) | |
| OKLCH | oklch(0.5698 0.0946 112.7) | color: oklch(0.5698 0.0946 112.7) | |
| Lab | lab(50.6 -12.47 37.42) | color: lab(50.6 -12.47 37.42) | |
| LCH | lch(50.6 39.44 108.43) | color: lch(50.6 39.44 108.43) |
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)
#7A7A47 — rgb(122, 122, 71)
Deuteranopia (Green-blind)
#7A7A4B — rgb(122, 122, 75)
Tritanopia (Blue-blind)
#785558 — rgb(120, 85, 88)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(64, 40%, 35%);
text
color: hsl(64, 40%, 35%);
border
border: 2px solid hsl(64, 40%, 35%);
gradient light
background: linear-gradient(to right, hsl(64, 40%, 55%), hsl(64, 40%, 35%));
gradient dark
background: linear-gradient(to right, hsl(64, 40%, 35%), hsl(64, 40%, 15%))
hex
background-color: #787D36;
tailwind
bg-[hsl(64,40%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(64, 40%, 35%, 0.4);
css variable
--color-primary: hsl(64, 40%, 35%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(64, 40%, 35%)?
HEX: #787D36 | RGB: rgb(120, 125, 54) | CMYK: 4%, 0%, 57%, 51% | HSV: 64°, 57%, 49%. Copy any format from the conversion table above.
What colors go well with #787D36?
The complementary color is HSL(244, 40%, 35%). 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%, 35%) in CSS?
As HSL: color: hsl(64, 40%, 35%); — As HEX: color: #787D36; — As RGB: color: rgb(120, 125, 54); — Tailwind CSS: bg-[hsl(64,40%,35%)] — CSS variable: --color-primary: hsl(64, 40%, 35%);