HSL(61, 78%, 40%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(61,78%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(61, 78%, 40%) | color: hsl(61, 78%, 40%) | |
| HEX | #B3B616 | color: #B3B616 | |
| RGB | rgb(179, 182, 22) | color: rgb(179, 182, 22) | |
| CMYK | cmyk(2%, 0%, 88%, 29%) | — | |
| HSV | hsv(61, 88%, 71%) | — | |
| HWB | hwb(61 9% 29%) | color: hwb(61 9% 29%) | |
| OKLCH | oklch(0.7493 0.1603 110.92) | color: oklch(0.7493 0.1603 110.92) | |
| Lab | lab(71.62 -17.72 70.16) | color: lab(71.62 -17.72 70.16) | |
| LCH | lch(71.62 72.36 104.17) | color: lch(71.62 72.36 104.17) |
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)
#B4B43D — rgb(180, 180, 61)
Deuteranopia (Green-blind)
#B4B446 — rgb(180, 180, 70)
Tritanopia (Blue-blind)
#B35B62 — rgb(179, 91, 98)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(61, 78%, 40%);
text
color: hsl(61, 78%, 40%);
border
border: 2px solid hsl(61, 78%, 40%);
gradient light
background: linear-gradient(to right, hsl(61, 78%, 60%), hsl(61, 78%, 40%));
gradient dark
background: linear-gradient(to right, hsl(61, 78%, 40%), hsl(61, 78%, 20%))
hex
background-color: #B3B616;
tailwind
bg-[hsl(61,78%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(61, 78%, 40%, 0.4);
css variable
--color-primary: hsl(61, 78%, 40%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(61, 78%, 40%)?
HEX: #B3B616 | RGB: rgb(179, 182, 22) | CMYK: 2%, 0%, 88%, 29% | HSV: 61°, 88%, 71%. Copy any format from the conversion table above.
What colors go well with #B3B616?
The complementary color is HSL(241, 78%, 40%). For a triadic harmony, use hues 61°, 181°, and 301°. For analogous combinations, try hues 31° and 91°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(61, 78%, 40%) in CSS?
As HSL: color: hsl(61, 78%, 40%); — As HEX: color: #B3B616; — As RGB: color: rgb(179, 182, 22); — Tailwind CSS: bg-[hsl(61,78%,40%)] — CSS variable: --color-primary: hsl(61, 78%, 40%);