HSL(64, 40%, 55%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(64,40%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(64, 40%, 55%) | color: hsl(64, 40%, 55%) | |
| HEX | #B4BA5E | color: #B4BA5E | |
| RGB | rgb(180, 186, 94) | color: rgb(180, 186, 94) | |
| CMYK | cmyk(3%, 0%, 49%, 27%) | — | |
| HSV | hsv(64, 49%, 73%) | — | |
| HWB | hwb(64 37% 27%) | color: hwb(64 37% 27%) | |
| OKLCH | oklch(0.7645 0.1164 112.17) | color: oklch(0.7645 0.1164 112.17) | |
| Lab | lab(73.3 -15.3 45.5) | color: lab(73.3 -15.3 45.5) | |
| LCH | lch(73.3 48 108.59) | color: lch(73.3 48 108.59) |
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)
#B7B774 — rgb(183, 183, 116)
Deuteranopia (Green-blind)
#B6B67A — rgb(182, 182, 122)
Tritanopia (Blue-blind)
#B4868A — rgb(180, 134, 138)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(64, 40%, 55%);
text
color: hsl(64, 40%, 55%);
border
border: 2px solid hsl(64, 40%, 55%);
gradient light
background: linear-gradient(to right, hsl(64, 40%, 75%), hsl(64, 40%, 55%));
gradient dark
background: linear-gradient(to right, hsl(64, 40%, 55%), hsl(64, 40%, 35%))
hex
background-color: #B4BA5E;
tailwind
bg-[hsl(64,40%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(64, 40%, 55%, 0.4);
css variable
--color-primary: hsl(64, 40%, 55%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(64, 40%, 55%)?
HEX: #B4BA5E | RGB: rgb(180, 186, 94) | CMYK: 3%, 0%, 49%, 27% | HSV: 64°, 49%, 73%. Copy any format from the conversion table above.
What colors go well with #B4BA5E?
The complementary color is HSL(244, 40%, 55%). 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%, 55%) in CSS?
As HSL: color: hsl(64, 40%, 55%); — As HEX: color: #B4BA5E; — As RGB: color: rgb(180, 186, 94); — Tailwind CSS: bg-[hsl(64,40%,55%)] — CSS variable: --color-primary: hsl(64, 40%, 55%);