HSL(59, 55%, 45%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(59,55%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(59, 55%, 45%) | color: hsl(59, 55%, 45%) | |
| HEX | #B2B034 | color: #B2B034 | |
| RGB | rgb(178, 176, 52) | color: rgb(178, 176, 52) | |
| CMYK | cmyk(0%, 1%, 71%, 30%) | — | |
| HSV | hsv(59, 71%, 70%) | — | |
| HWB | hwb(59 20% 30%) | color: hwb(59 20% 30%) | |
| OKLCH | oklch(0.7366 0.141 108.49) | color: oklch(0.7366 0.141 108.49) | |
| Lab | lab(70.01 -14.05 60.22) | color: lab(70.01 -14.05 60.22) | |
| LCH | lch(70.01 61.84 103.13) | color: lch(70.01 61.84 103.13) |
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)
#B1B152 — rgb(177, 177, 82)
Deuteranopia (Green-blind)
#B1B159 — rgb(177, 177, 89)
Tritanopia (Blue-blind)
#B26A6F — rgb(178, 106, 111)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(59, 55%, 45%);
text
color: hsl(59, 55%, 45%);
border
border: 2px solid hsl(59, 55%, 45%);
gradient light
background: linear-gradient(to right, hsl(59, 55%, 65%), hsl(59, 55%, 45%));
gradient dark
background: linear-gradient(to right, hsl(59, 55%, 45%), hsl(59, 55%, 25%))
hex
background-color: #B2B034;
tailwind
bg-[hsl(59,55%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(59, 55%, 45%, 0.4);
css variable
--color-primary: hsl(59, 55%, 45%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(59, 55%, 45%)?
HEX: #B2B034 | RGB: rgb(178, 176, 52) | CMYK: 0%, 1%, 71%, 30% | HSV: 59°, 71%, 70%. Copy any format from the conversion table above.
What colors go well with #B2B034?
The complementary color is HSL(239, 55%, 45%). For a triadic harmony, use hues 59°, 179°, and 299°. For analogous combinations, try hues 29° and 89°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(59, 55%, 45%) in CSS?
As HSL: color: hsl(59, 55%, 45%); — As HEX: color: #B2B034; — As RGB: color: rgb(178, 176, 52); — Tailwind CSS: bg-[hsl(59,55%,45%)] — CSS variable: --color-primary: hsl(59, 55%, 45%);